Write a qbasic program to input time in minutes and convert it to hours and minutes.
Answers
Answered by
14
Home QBasic Programming Input seconds and convert into hours minutes and mins. Input simple interest, rate, time and display principal.
Answered by
10
Explanation:
INPUT "Enter number of minutes"; m
hr = m \ 60
mi = m MOD 60
PRINT m; " minutes = "; hr; " hours and "; mi; " minutes."
END.
Similar questions