Make a program that reads a file ([login to view URL]) with the times (in seconds) of each driver in each lap of a race and prints it in a text file ([login to view URL]) with the following results:
a) the best time of the race, the lap in which it occurred and who did that time.
b) for each driver, his best time and the lap in which it occurred.
c) for each driver, his worst time and the lap in which it occurred.
d) for each driver, the average time per lap.
# TURNS: 5
The first line corresponds to the number of drivers, the second line the number of laps timed for each driver and then the times for each driver, each line corresponds to the time in one lap (starting with lap 1).
Create the following classes:
File: this class do all file manipulation of input and output data. Create the necessary attributes, methods, constructors and get/set.
Pilot: this class must contain the pilot's name and a vector with its lap times, as well as the necessary constructors and get/set methods.
Main: this class must contain the main method and do all the class management. Create an attribute here to be a collection of the data read.
20 freelancers are bidding on average $29 for this job
Hi there, I checked your requirements and guarantee you it's gonna be done within the next few hours. Let's contact via chat so that I can start work immediately. Wish you the best. ------------------------------
Hello client. Professional java python and c/c++ programmer here. I can easily complete your task in very short period of time. If you are interested please contact me via pm. Sincerely. CO