3. Write a full program that takes the number of seconds as an input. It then displays the time in hours: minutes: secon
Posted: Thu Jul 14, 2022 2:10 pm
Hi. I need the full program and the output. Thank you inadvance.
3. Write a full program that takes the number of seconds as an input. It then displays the time in hours: minutes: seconds format. Assume the time is displayed in international time, e.g. 06:06:06 or 23:05:57. You are required to create a suitable class and inheritance for this problem. Your program should show output as shown in the example below. Enter number of seconds after midnight: 3601 The time is 01:00:01 [10 marks]
3. Write a full program that takes the number of seconds as an input. It then displays the time in hours: minutes: seconds format. Assume the time is displayed in international time, e.g. 06:06:06 or 23:05:57. You are required to create a suitable class and inheritance for this problem. Your program should show output as shown in the example below. Enter number of seconds after midnight: 3601 The time is 01:00:01 [10 marks]