An open API service indexing awesome lists of open source software.

https://github.com/heyfoz/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.
https://github.com/heyfoz/cpp-vehicle-fleet-txt-file-reader

calculations cpp mpg reader txt-files

Last synced: 7 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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