Question: Using C++, make a coding to calculate total number of cars on each days it entered toll on highways and classify the types of toll
Using C++, make a coding to calculate total number of cars on each days it entered toll on highways and classify the types of toll payment.
The program must use selection, repetition, function, array and file input output(.txt format).

Input: The number of cars entered each toll on highway. Days TOLL 1 (Cash) TOLL 4 TOLL 5 (SmartTAG) (SmartTAG) SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY 5540 4648 4589 4690 5022 4950 6124 TOLL 2 (Touch'N Go) 7233 6453 6251 6121 6340 6219 7540 TOLL 3 (Touch'N Go) 8125 6976 6326 6401 6271 6187 8351 4650 4214 5201 4583 4663 4755 5682 5030 4743 4126 4692 4344 4423 5140 Output: Display the total number of cars according to days it entered each toll on highway. Days SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY Total numbers of cars on highway 30578 27034 26493 26487 26640 26534 32837
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
