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

Ally and Christian bought 4 pounds of mulch and 2 pounds of seed for the garden how many ounces of these products did they purchase
One of the signs that sleep is necessary is that all living creatures __________.
what political reforms did the national assembly adopt??
According to Philippians 2:3, are we to put away strife and pride and esteem ourselves higher than others. a. True b. False
ferns and reptiles appeared in the____ era
What valuable resource is found in large supply in the Midlands of England?
3x+1/10=x-1/7 what is x explain how you got the answer
A certain line has a slope of 3/2. Select all pairs of points that may be on the line. a) (1, 3) and (2, 6) b) (3, 1) and (6, 2) c) (0, 0) and (2, 3) d)
5g of a mixture of KOH and KCl with water form a solution of 250mL. We have 25ml of this solution and we mix it with 14,3mL of HCl 0,1M. What's the % of the ini
As the Civil War drew to a conclusion, the chief concern of Republicans in Congress was that A. they were being pressured to enact legislation granting social e