Question: SPECIFICATIONS: You have been assigned as the lead programmer for the World Track and Field Championships! The 100-meter dash is one of the highlights of

SPECIFICATIONS: You have been assigned as the lead programmer for the World Track and Field Championships! The 100-meter dash is one of the highlights of this competition and is considered by many to demonstrate the worlds fastest human. Your job is to take the top finish time (given in seconds with two digits of precision to the right of the decimal point) for the 100 meter dash and do some conversions to find out how fast the person was traveling in: meters per second feet per second kilometers per hour miles per hour In addition, you must also determine how long it would take the person to run one mile. And finally, you must determine how long it would take the person to run 100 yards. The result of each conversion you perform should be displayed and clearly labeled, as demonstrated in the sample run below (NOTE: the actual numeric results are not displayed that is for you to figure out):

EXAMPLE: Please enter the winning time of the race: 15.00 The person was traveling at a rate of: x.xx meters per second, y.yy feet per second, z.zz kilometers per hour, y.yy miles per hour, It would take m minutes and n.nn seconds for the person to run one mile. It would take t.tt seconds for the person to run 100 yards.

DETAILS: I have provided the Lab2 folder, the package and the class that contains main You will write your code in main. I have provided a few variables that you must you and you can declare variables if needed. It is your job to figure out the conversions necessary to determine the necessary output based on the above. It is also your job to format your output in the same style as shown (2 decimal places). You are only allowed to use either System.out.printf or the methods from import java.text.DecimalFormat.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!