Question: Please adhere to the Programming Standards and the Java Coding Guidelines. Submit the following: List of source code with comments to document Test output listed

Please adhere to the Programming Standards and the Java Coding Guidelines. Submit the following: List of source code with comments to document Test output listed as comments at the end of your program 1. Seconds. (5pts) Write the pseudocode/plan for a program, called Seconds, that prompts the user for three integers, representing a time duration in hours, minutes, and seconds. Your program should then display the equivalent total time in seconds. (For example, 1 hour, 28 minutes, and 42 seconds is equivalent to 5322 seconds). Include your pseudocode in the header comment at the top of your application. For more information on writing pseudocode, check out the link included in the assignment page in Canvas. Based on your pseudocode/plan, now write the program called Seconds in Java. Use the Scanner class to prompt the user for hours, minutes and seconds. Please test your code with the following 3 cases below and provide output of each case. TEST CASES: 0 hours minutes seconds total time (in seconds) Case 1 Case 2 Case 3 11 1 456 45 2 0 0 3662 ? ? Example output: Enter the number of hours: 1 Enter the number of minutes: 1 Enter the number of seconds: 2 Total seconds: 3662
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
