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

A particular wave can be described as transverse and self-propagating. What type of wave could it be? A sound wave A seismic wave An ocean wave A radio wave
as the driver of vehicles , your only responsibility is to operate the vehicle in a safe manner. true or false
Why are junk bonds more popular during a bear market?
What geometric objects occupy two dimensions
An elephant can run 1/4 of a mile in 36 seconds how fast can that elephant run in mph
What is madison's view of human nature and how does it affect his prescriptions for the republic?
What court decision established the right of patients to express their desires about medical treatment on advance?
What is 3^ 2/3 equal to?
What is 3^ 2/3 equal to?
________ development involves growth and changes in the body and brain, the senses, motor skills, and health and wellness.