Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

array Elite School Bus Services provide bus services for the route from point to school as stated in Figure 1. The capacity of the bus

image text in transcribed
array Elite School Bus Services provide bus services for the route from point to school as stated in Figure 1. The capacity of the bus is 45 students. School Figure 1 Table 2 lists the monthly fee rate for each point of location. Table 2 Point Fee rate per student (RM) 0 40 1 35 30 3 25 4 20 15 Write a complete C++ program to perform the following tasks: 0) 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 Calculate the total amount of fee for each point of location based on the fee rate per student in Table 2 ) Calculate the total income for Elite School Bus Services. Total income is the sum of the 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 program language = C++

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

=+ What would it look like? Who should deliver it?

Answered: 1 week ago