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 happened when the colonists boycotted goods that carried British tax?
Water moves between the ocean, atmosphere, and land. In which form does water enter the atmosphere?
are the mid segments of an isosceles triangle congruent
Good evening, I'm French, I learned English, could you help me answer these questions please? Thank you and Merry Christmas to all. Question 1 : Where did the M
what did the plymouth colony hunt for
According to the school survey 12% of the students at Rockwood high school speak Spanish there are 36 students at the school who speak Spanish how many students
there is my question
Tyrees purchase a container of juice that contains 220 cal the label says the 60% of the calories are from carbohydrates how many calories are not from carbohyd
FACT of the day "The cause of the popping sound produced by knuckle cracking(fingers) is largely a mystery."
Hi guys. Im doing a project at school where we have to create a mouse trap powered car. I wanted to know what materials are a must have to make the car move mor