Question: Answer for Windows Eclipse IDE. Please add the Java File as well! Lab Instructions In this lab, you will use Eclipse to develop a complete
Answer for Windows Eclipse IDE. Please add the Java File as well!
Lab Instructions In this lab, you will use Eclipse to develop a complete Java program that does a simple output to the screen. Technology Requirements To complete this lab, you will need to have Java and Eclipse installed on your computer. Procedure In this lab, you will write a program that requires the use of arithmetic expressions 1. Write a class that uses four values to represent the seconds it took for a mile runner to run each lap of his race. 2. Calculate how long in minutes and second, it took the runner to run the full mile. Display this value to the user. 3. Calculate how long was the average lap and display this value to the user. Sample Run Output: How many seconds for lap one: 50 How many seconds for lap two: 52 How many seconds for lap three: 49 How many seconds for lap four: 50 The total time it took to run the mile: 3 minutes and 21 seconds The average lap time was 50.25 seconds Take a screenshot of the successful run of your program with the program's output. Put the screenshot and a copy of your code in a Word document for submission to the Coding Lab 1 Assignment Box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
