Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 635 Bytes

File metadata and controls

10 lines (6 loc) · 635 Bytes

cpp_vehicle_fleet_txt_file_reader

The Vehicle Fleet Text File Reader Program (C++) uses a loop to read a file named FleetInput.txt, which holds vehicle ID, miles, and gallons space delimited on each row.

Then, the program calculates the fleet average and individual average miles per gallon (MPG), displaying the results in the console are tabular output.

Additionally, the program identifies the worst and best MPG in the fleet.

Link to .cpp file: Vehicle Fleet Text File Reader C++ Program

Copyright (c) 2022 ffm5113