C program to Convert Hours into Minutes and Seconds
C program to Convert Hours into Minutes and Seconds
CODE:-
INPUT:-
TEST CASE 1:-
::-:: 4
OUTPUT:-
TOTAL MINUTES=240
TOTAL SECONDS=14400
TEST CASE 2:-
::-:: 9
OUTPUT:-
TOTAL MINUTES=540
TOTAL SECONDS=32400
In this program I declared three Variable (x,y,z), x for storing user input, z for storing time in minutes by multiplying x by 60, and y for storing seconds by multiplying z by 60, And then printed them on console screen using printf() function.
It`s Really very easy program to increase your interest in coding & make you comfortable comment down your question or if you want any other Code Comment it down We will provide you as soon as possible
1 comments
Reverse characters and strings
ReplyDelete