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.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp-vehicle-fleet-txt-file-reader
- Owner: heyfoz
- Created: 2022-10-09T06:48:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T01:09:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-30T05:11:47.713Z (8 months ago)
- Topics: calculations, cpp, mpg, reader, txt-files
- Language: C++
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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