CJCoding With Joseph

Minutes to Hours and Minutes

Read a whole number of minutes and print it broken into hours and leftover minutes in the form H h M m. For the input 135, print:

2 h 15 m

Expected Output:

2 h 15 m
Topics:
User Input
๐Ÿ“ฅ Auto-Input:
135
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.