Write a program in q-basic which can take input in minute and convert it into hour and
minute.
( like 200 min = 3hr 20min)
Answers
Answered by
4
Question:-
Write a program in q-basic which can take input in minute and convert it into hour and minute.
Program:-
CLS
INPUT "Enter time in mins: ";M
X=M MOD 60
M=M-X
H=M/60
PRINT "=" + H+" HOURS "+X+" MINUTES. "
END
Similar questions
Science,
2 months ago
Hindi,
2 months ago
Economy,
2 months ago
Computer Science,
5 months ago
Math,
10 months ago