Write a program in QBASIC to accept time in hours.
Display the time in minutes and seconds using Input
Statement.
Answers
Answered by
3
Answer:
CLS
INPUT "Enter number of minutes"; m
hr = m \ 60
mi = m MOD 60
PRINT m; " minutes = "; hr; " hours and "; mi; " minutes."
END
Similar questions