Tags | skill/problem_solving |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
Make a function to convert a number representing minutes into hours and minutes. It should return a string showing the number(s) of hours and minutes.
Pay very close attention to the format of the string that is returned:
task8(71)
should return 1 hour, 11 minutes
task8(133)
should return 2 hours, 13 minutes
task8(1)
should return 0 hours, 1 minute
Most people get this question wrong!
Coders are precise so it is important to focus here. The output should show the number of hours and minutes, and it should make proper use of singulars and plurals.
task8(0)
do? Does it do the right thing?