The Student Room Group

Computer science task urgent

Caroline needs to keep track of job and revenue information. You will write a program to
enable this to happen.
The program will sort and search the file paintingJobs.txt to select and display
information about estimates and jobs.
The paintingJobs.txt file shows Estimate Number, Estimate Date, Customer ID,
Final Total (in £ pounds), Status (E for Estimate, A for Accepted job or N for Not accepted),
and Amount Paid (in £ pounds). A copy of this file is shown in Appendix A.
Requirements
Display four options for the user to select from.
Option A Search for an estimate
Option B Display outstanding payments
Option C Display total revenue
Enter Q to quit
The user must be able to select an option or enter ‘Q’ to quit the program.
All data must be read from the paintingJobs.txt file.
The program must work for all of the records in the paintingJobs.txt file.
Option A must provide a prompt for the user to enter the estimate number.
It must find the customer ID and estimate details for the entered estimate number.
Here is a suggested format for displaying the data.
Estimate Number: <the estimate number>
Customer ID: <the customer ID>
Estimate Amount: <the final total>
Estimate Date: <the estimate date>
Status: <the status>

9

W48968A

Turn over

Option B must show all jobs with outstanding payments. This only applies to estimates
with a status of A (Accepted). Payments are outstanding if the amount paid is less than
the final total.
It must only show outstanding payments for jobs with a status of ‘A’.
It must calculate and display the total of the outstanding payments.
Here is a suggested format for displaying the data.
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding

Total Outstanding: Total Outstanding

Option C must calculate the total revenue for jobs that have been accepted and
fully paid.
The calculation must only include jobs with a status of ‘A’.
The calculation must only include jobs that have been fully paid.
Here is a suggested format for displaying the data.
Total Revenue
The company’s total revenue so far is <the total revenue>
Original post by Froppy
Okay I don't do computer science and didn't even know it was a GCSE subject until i came on TSR. However every thread i see about it seems to be students asking other people to do their homework (not just a lil help with a section...but the ENTIRE thing) >_< ...At this point it can't just be coincidence...I mean there must be some reason why so many people who take computer science are unable to do the work? is the course too hard or are they just lazy? I'm genuinely curious.

But in response to the OP. I highly doubt anyone is going to do your homework for you.


Exactly.

I think some people use TSR as a sort of 'free' coursework / essay writing / homework service. Only have to look at the pages of unanswered threads in the study help forums - not just CSci.
(edited 6 years ago)
well this s my first year and first semester so can't help
Original post by IAMAKAS'
Caroline needs to keep track of job and revenue information. You will write a program to
enable this to happen.
The program will sort and search the file paintingJobs.txt to select and display
information about estimates and jobs.
The paintingJobs.txt file shows Estimate Number, Estimate Date, Customer ID,
Final Total (in £ pounds), Status (E for Estimate, A for Accepted job or N for Not accepted),
and Amount Paid (in £ pounds). A copy of this file is shown in Appendix A.
Requirements
Display four options for the user to select from.
Option A Search for an estimate
Option B Display outstanding payments
Option C Display total revenue
Enter Q to quit
The user must be able to select an option or enter ‘Q’ to quit the program.
All data must be read from the paintingJobs.txt file.
The program must work for all of the records in the paintingJobs.txt file.
Option A must provide a prompt for the user to enter the estimate number.
It must find the customer ID and estimate details for the entered estimate number.
Here is a suggested format for displaying the data.
Estimate Number: <the estimate number>
Customer ID: <the customer ID>
Estimate Amount: <the final total>
Estimate Date: <the estimate date>
Status: <the status>

9

W48968A

Turn over

Option B must show all jobs with outstanding payments. This only applies to estimates
with a status of A (Accepted). Payments are outstanding if the amount paid is less than
the final total.
It must only show outstanding payments for jobs with a status of ‘A’.
It must calculate and display the total of the outstanding payments.
Here is a suggested format for displaying the data.
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding
Estimate Number Customer ID Final Total Amount Paid Amount Outstanding

Total Outstanding: Total Outstanding

Option C must calculate the total revenue for jobs that have been accepted and
fully paid.
The calculation must only include jobs with a status of ‘A’.
The calculation must only include jobs that have been fully paid.
Here is a suggested format for displaying the data.
Total Revenue
The company’s total revenue so far is <the total revenue>


You have treated every single person on the CS forum with absolute contempt by posting an entire set of questions for us to answer. How ****ing dare you, you lazy and entitled turd.

How about you get off your arse and actually LEARN how to do this, rather than posting an entire set of questions, with no PLEASE or THANK-YOU in sight.

You should drop CS as a subject, as you clearly have no dedication for it.
(edited 6 years ago)
I'm just sick and tired of seeing these threads whenever I visit the CS forum.

Dear god, if I were to find these people I would nullify every single qualification they have if I had the power to.
Original post by Blue_Cow
I'm just sick and tired of seeing these threads whenever I visit the CS forum.

Dear god, if I were to find these people I would nullify every single qualification they have if I had the power to.



I've often thought that these types of questions originated from real students using dishonourable coursework-cheat answering services which they pay for handsomely.

The original question is then re-posted by the cheat service on sites like TSR which may get a 'lucky hit' when a TSR member answers in all innocence.

Which means someone off-shore is making a profit from offering a cheat service, but does no work and only reposts questions.

i.e. genuine students do the work for free whilst the crooks take the money and the cheat gets their answer without worrying how they got it.
(edited 6 years ago)

Quick Reply

Latest