QUESTION 4 – FastestRower – 25 marks 1. Create a new cla…
QUESTION 4 – FastestRower – 25 marks 1. Create a new class called FastestRower. 2. Add code to declare variables for: Number of rowers Surname Time to row 1000m Power to weight ratio (P/W) Fastest Time Fastest Time Surname Highest P/W Highest P/W Surname Average Power to Weight ratio 3. Add code to ask the user how many rowers to enter the details for. 4. Add code to repeatedly input: surname, time and P/W until all of the rowers’ details have been processed. 5. Add code to find the fastest time and the name of the rower with the fastest time. You can assume that all rowers will be faster than 9999 seconds. 6. Add code to find the highest P/W and the name of the rower with the highest P/W. 7. Add code to find the average P/W. 8. Display the number of rowers processed, the average P/W, the fastest time, the surname of the rower with the fastest time, the P/W and the surname of the rower with the highest P/W as follows: