1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lubasha [3.4K]
2 years ago
14

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time

Computers and Technology
1 answer:
Anastaziya [24]2 years ago
5 0

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))

You might be interested in
The standard qwerty keyboard has 47 keys that can place characters on the screen. each of these keys can also display a second c
stepladder [879]

The standard QWERTY keyboard has 47 keys that can place characters on the screen. Each of these keys can also display a second character by holding the "Shift" key at the same time. How many bits would you need to encode everything that could be typed on this keyboard?

The answer is 7 bits

7 0
2 years ago
Read 2 more answers
What are some limitations when it comes to testing and ensuring program quality? List at
DedPeter [7]

Answer:

the two limitation i can think about is the efficiency like if there are bugs or glitches or if it can get broken into and the second one is if it is running the correct program or not a lot of people deal with this problem.

Explanation: personally these are the two i can come up with at the moment

4 0
2 years ago
The right headlight does not function on either high or low beam. Technician A says this could be caused by an open ground on th
dangina [55]

Answer: Technician A is correct.

Explanation: An open ground on the right may be the reason the headlight is not functioning on low or high beam. Most electrical circuit related problems in automotive are caused by open ground.

A ground should be clean, tight and free of corrosion and also making good metal to metal contact.

A ground is an electrical circuit system or connection in an automotive.

A dimmer switch on the other hand is a device that controls the vehicle's headlight functions. If the headlight does not function on high or low on the right. It can't be a dimmer switch, hence it may be ground problem.

4 0
3 years ago
The following code is intended to test whether the int variable num is less than 10, and if so print a warning and set it to 10.
hoa [83]

The only correction I see is you need to add curly braces to enclose the second and third lines.

6 0
2 years ago
Why when I put a question in the search bar it says something went wrong?
xz_007 [3.2K]
It’s says the same thing to me too!
8 0
2 years ago
Other questions:
  • Discuss what they need to consider if they wish to use their devices when they are away from home?
    6·1 answer
  • Computers are not just stand-alone desktop machines anymore. They are often embedded in common appliances and technology that we
    6·1 answer
  • You find that you are missing a very important file. After much searching, you have determined that it is no longer on your comp
    13·2 answers
  • Is there truth? Does truth exists?
    14·2 answers
  • What port in your computer will you use to plug in your camera?
    14·2 answers
  • Mihaela I. Croitoru – Utilizarea calculatorului personal Microsoft Word dau coroana
    14·1 answer
  • Viết thuật toán, chương trình xử lý hạn chế trong việc xử lý số liệu phần nguyên để hiển thị lên lcd
    14·1 answer
  • How do you create multiple columns in Word?
    12·1 answer
  • What are styles? built-in conditional formatting rules formatting applied with the Format Painter defined combinations of format
    15·2 answers
  • Jeri wants to make sure she designs her web site for a specific group of people. What will help her plan who will visit the site
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!