angel4442 angel4442
  • 23-04-2020
  • Computers and Technology
contestada

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time

Respuesta :

braza909
braza909 braza909
  • 24-04-2020

Answer:

The code is given below

hours = int(input("Enter time in hour: "))

minutes = int(input("Enter time in minute: "))

total time = (hours * 60) + (minutes + 15 )

total hours = int(total minutes  / 60)

minutes  = total hours/ 60

print("Hours: " + str(hours))

print("Minutes: " + str(minutes))

Answer Link

Otras preguntas

Which group of people were the first to settle Salt Lake City? A. The irish B.The Mormons C.The Chinese D.The Amish
Marcy plays a game with a spinner and a six sided number cube the spinner is divided into four equal sections number 1-4 marcy spins the spinner and rolls the n
Explain the changes that were made to the day of reconciliation (16 December)
can i get help on another economics question
A television camera at ground level is filming the lift-off of a space shuttle at a point 750 meters from the launch pad. Let θθ be the angle of elevation to th
what European country primarily operated trading outpost within its claimed territory
What significant economic challenge did European countries face after World War I?
In the 2010s, a similarity between US policies toward Cuba and Libya is that A. they were designed to improve trade relations. B. they were designed to stop nuc
Are these correct blanks correct? Thank you!!
what is 50/190 into a decimal