Binita was travelling from Chennai to Delhi in Rajdhani Express. The train have arrived at the destination later than the estimated time. So, Binita wants to know the total number of hours and minutes the train was delayed.
Can you help Binita in finding the exact hour and time Rajdhani Express was delay on the day of Binita’s journey?
Input:
The only line of input representing total minutes.
Output:
Print the Number of Hours and Minutes in a single line.
#include <stdio.h> int main() { int tot_mins,hrs,mins; scanf("%d",&tot_mins); hrs=tot_mins/60; mins=tot_mins%60; printf("%d Hours and %d Minutes",hrs,mins); return 0; }
INPUT_1:
600
OUTPUT:
10 Hours and 0 Minutes
INPUT_2:
650
OUTPUT:
10 Hours and 50 Minutes
INPUT_3:
546
OUTPUT:
9 Hours and 6 Minutes
INPUT_4:
101
OUTPUT:
1 Hours and 41 Minutes
Explore
1. Quantum Mechanics relation with quantum computing
2. Unzipping Files using Python
3. An Algorithm which accepts n integer values and calculates the average and prints it.
4. How can Quantum Computing merge with Virtual Reality ? !
5. Blockchain and Cryptocurrency. And their relations with Virtual Reality !!
Morae Q!
- Convert seconds to hours – HMS format.
- Find out the tax amount of the bill with tip for the meal.
- Find the area of the pyramid.
- Find the area of triangle using heron’s formula.
- Find the interest and amount resided in the bank.
- Convert the travel days to years and months.
- Find the first three powers of N number.
- Compute the height from feet and inches to centimetres.
- Calculate the amount of interest earned in the bank.
- Find the ways they can choose the sequence of dummy statues.
- Find the Lapindrome strings.
- Classify the salary of a person.
- Find the day on providing the week number.
- Find the least number of marble stones needed to pave the square mall.
- Find the number of steps on chessboard performed to satisfy a condition.
- Find the time, hours and minutes the train was delayed.
- Find the quantity of food packets shared and available.
- Compute all Arithmetic Operations.
- Find the amount to pay for the electricity bill.
- Find the sum of numbers with three values after decimal point.