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

what are five goals of the U.S. foreign policy
Which of the following best describes the slope of the line below?
help with question 4
What is the mathematical equation for calculating the internal energy of a diatomic gas
what is the equivalent to the complex number i28​
team rise over run finished the last 12 miles in 1/2 an hour what was their average speed in miles per hour
The info for this question is the ice cream emporium sells ice cream by the quart. plz help me I need the help I need it badly plz help me ASAP plz asap
Jamie is baking scones.The recipe he is following says that 455g of flour will make 8 scones.How much flour will he need to make 24 scones in Kilogram?​
Which of the following is most likely to be a relative maximum for this graph
True or False: An algebraic proof is a proof that uses algebraic properties to reach a conclusion about an algebraic equation.