Question: Write a complete C++ program to perform the following tasks: i) Enter the number of students for each point of location in an array numstudent.

Write a complete C++ program to perform the following tasks: i) Enter the number of students for each point of location in an array numstudent. The total number of students must not exceed the bus capacity, ii) Calculate the total amount of fee for each point of location based on the fee rate per student in Table 2. iii) Calculate the total income for Elite School BusServices. Total income is the sum ofthe total amount of fee for all points of location, iv) Calculate the net income for Elite School Bus Services per month. The fixed operation cost of the bus services is RM1000 per month. Note: Net income is based on the difference between the total income and the fixed operation cost, v) Display the monthly amount of fee for each point of location and the net income for Elite School Bus Services.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!