Question: write a program that will prompt the user for the number of weeks, days, hours, minutes and seconds and your program will compute exactly

write a program that will prompt the user for the number of weeks, days, hours, minutes and seconds and your PART 2 - More Seconds Since that was so much fun, you have now decided that it would be interesting to be

write a program that will prompt the user for the number of weeks, days, hours, minutes and seconds and your program will compute exactly how many seconds there are over that period of time. Create a Java application called Lab4_1. Example run Seconds Computation Program How many WEEKS : 2 How many DAYS : 3 How many HOURS : 17 How many MINUTES : 42 How many SECONDS : 3 Total SECONDS during that time period is: 1532 23 1532423 PART 2 - More Seconds Since that was so much fun, you have now decided that it would be interesting to be able to do the reverse. In other words, if you are given a specified number of seconds your program will compute the number of whole weeks, days, hours, minutes and seconds that it breaks down into. Your task is to write a program that will prompt the user for the number of seconds and compute the appropriate weeks, days, hours, minutes and seconds that it would cover. Create a Java application called Lab4_2. Example run Reverse Seconds Computation Program What is the total number of Number of whole WEEKS Number of whole DAYS Number of whole HOURS Number of whole MINUTES : Number of # SECONDS: : : SECONDS: 1532523 23723

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import javautilScanner public class Lab41 public static void mainString args Scanner scanner new Sca... View full answer

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 Programming Questions!