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.
File format:
#PILOTS: 3
# TURNS: 5
FELIPE MASSA
93,503
93,705
94,805
93,430
93,520
LEWIS HAMILTON
93,403
93,805
93,935
93,435
93,330
JENSON BUTTON
93,333
93,735
94,325
93,230
93,320
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.
⭐⭐⭐⭐⭐
Hi there,
I am java developer with 7+ years of experience in web and desktop app and game development.
I have strong expertise in OOP, data structures, design patterns, statistics, multi threading, networking, genetic algorithm implementation, junit testing and more.
I just read the details and looks an easy job for me.
Have a look at my profile for my portfolio and similar projects I've completed with reviews.
Message me, we can discuss further details over chat.
Hello
I'm Certified Java Programmer. Contact for awesome Java desktop
(Console, Swing, JavaFX), Web (JEE, Spring) and Android apps. I
assure you an excellent solution of your project within the time
frame and exactly according to the requirements.
Thanks
@CodingHelpLine
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.
------------------------------
Hi, Dear!
I have a full experience of 6 years in java with OOP, I can do it within a few hours.
I am very interested in your project and will start Your work right now...
If you`ll choose me, I am confident to provide you best solution in time.
And I will do my best for our works.
Hope to discuss with you soon.
Thanks & Best regards!
I have got bachelor of IT at Shanghai University and master of Data Science degree at the Unviersity of Queensland. I worked as software engineer in Sysmex as a software engineer.
This is an easy task, I am ready for the task.
Can I ask the size of the file?
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
Howdy, I can take on this project for you. If you choose to move forward with me, I will need some clarification on what you would like the output to look like. Aside from that I can get this back to you in less than 2 days.