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

I need to know how to do this fast
HELP PLEASE!!Solve the inequality for x. Show each step of the solution. 12x> 9(2x− 3) − 21
PLZ ANSWER!!!! BRAINLIEST LOTS OF POINTS PLZPLZPLZ 2. Saujani describes that women are highly underrepresented in STEM careers. She attributes this to women nee
In 12s, a wire delivers 96 C of charge. The current in the wire, to the nearest whole number, is ____A.
What is the verb phrase for at birth jacob was holding esau's heel
DONT HATE LOVE PLEASE HELP ME IM SORRY IM SLOW △QRS is rotated about point P to △Q′R′S′ . Which statements are true about the pre-image and image? Select each
Mrs. Smith bought her three children new raincoats. Each raincoat costs 25.99. About how much did Mrs. Smith spend on the 3 raincoats? Is your answer an overest
the table below shows the cost for different quanties of gas find the cost of 15 gallons
What is the answer for evaluate f(5)?
How many pots can nestor plan in 1 hour if he plants 15 plants in 2.5 hours