Question: Write a Java application to do the following: a Asks the user to enter a runner's first name, distance traveled and time elapsed. Create an
Write a Java application to do the following: a Asks the user to enter a runner's first name, distance traveled and time elapsed. Create an object called runnerl from class Marathon Runner you defined in previous question and set its values according to the input data. b. Display the details of runner c. Display the message "You broke the speed record" if runner is faster than the speed record of value 6.7 (m/s). The Present Value of an Ordinary Annuity is given by: PV = PMT (4 ratry), [5 marks] where: PV = present value PMT = Payment r = interest rate t = number of payments Make t the subject
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
