Computer Science, asked by hrittikaghosh04, 5 months ago

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 anindyaadhikari13
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