Hours and minutes
Read a number of minutes and print how many whole hours and remaining minutes that is. For the input 135 print:
2 hours and 15 minutesThere are 60 minutes in an hour: / gives the whole hours, and % gives the minutes that are left over.
Results will be shown here
Press Run to start your program.