HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginner > problem:


50225 - Convert to Minutes and Seconds

Volume problems

• 50194 - OSHEE Electric Bill
• 50217 - Exchange the Values
• 50218 - Say Hello
• 50219 - Win or Lose
• 50220 - Area and Perimeter Of The ...
• 50221 - Calculate the Average
• 50222 - Even or Odd
• 50223 - Average of Test Scores
• 50225 - Convert to Minutes and...
• 50226 - Convert Celsius to Fahrenheit
• 50227 - Smallest Number
• 50228 - Even Numbers
• 50229 - Print All Numbers
• 50230 - ASCII Codes
• 50231 - Hours Minutes and Seconds
• 50236 - Put the Numbers in Descend...
• 50238 - Translate Score into Grade

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Convert To Minutes and Seconds

Create a program that converts seconds to minutes and seconds. 

Input: In the first line you will get a positive integer

Output : Number of minutes and seconds with a space in between them.

Sample Input1:

Sample Input2:

Sample Input2:

125

600

45

Sample  Output1:

Sample  Output2:

Sample  Output2:

2minutes 5seconds

10minutes 0seconds

0minutes 45seconds

 

Äëÿ îòïðàâêè ðåøåíèé íåîáõîäèìî âûïîëíèòü âõîä.

www.contester.ru