id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

frew@mclean.com review2020day1 > convertMinutes
prev  |  next  |  chance

Write a method that converts minutes (int) to hours and minutes (String).


convertMinutes(197) → "3 hours and 17 minutes"
convertMinutes(59) → "0 hours and 59 minutes"
convertMinutes(62) → "1 hour and 2 minutes"

...Save, Compile, Run (ctrl-enter)

public String convertMinutes(int min) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy