Quest Timer (Operators & Math)

Read a number of minutes and print it as H hours M minutes.

Input: One integer (0 or more).

Output: H hours M minutes, e.g. 2 hours 5 minutes.

Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.

Hint

  • Integer division gives the hours, the remainder gives the minutes.

More Operators & Math practice