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]
3 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]3 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
Find every number from 1 to n (inclusive) that is a palindrome which starts with the digit 3. Do not user a helper function.
Mkey [24]

Answer: Following code is in python

n=input()

num='1'

while int(num)<=int(n):    //loop from 1 to n

   flag=1   //if an unequal element will be found it will be 0

   l=len(num)

   if num[0]=='3':

       j=0

       k=l-1

       while j<k:    //loop till middle of number

           if num[j]==num[k]:

               j+=1     //from beginning

               k-=1    //from end

           else:

               flag=0

               break

       if flag==1:

           print(int(num))

   num=str(int(num)+1)    //number will be incremented as integer

INPUT :

1000

OUTPUT :

3

33

303

313

323

333

343

353

363

373

383

393

Explanation:

In the above code, a loop is executed till num is equal to n which is entered by the user. num is treated as a string so that to ease the process of checking first character is 3 or not. If it is 3 then another loop executes which checks if an element from starting is equal to the corresponding element from the end. If an element is not equal then the flag is changed and then we break out of the loop and prints the number if the flag isn't changed.

7 0
4 years ago
Which of the following is false about ERP II systems? Question 18 options: 1) They utilize the Web. 2) They include human resour
maks197457 [2]

Answer:

5) These ERP systems have no optional modules.

Explanation:

ERP II is a solution that comprises of the conventional materials planning, the distribution, and order-entry functionality reinforced by capabilities like consumer relationship management (CRM), the human resources management (HRM). A type of system like that can quickly, consistently and accurately operate the whole organization.

Some of the Examples of ERP system modules include: supply chain management (for example the manufacturing, purchasing and distribution of goods), product lifecycle management, warehouse management, customer relationship management (CRM), online sales, sales order processing, financials, human resources, and decision support scheme.

6 0
3 years ago
Tinh T = a1*a2*a3*...an<br><br> Giúp em với
Studentka2010 [4]

Answer:

??????

Explanation:

??????? okay okay

3 0
3 years ago
Scripting languages are distinguished by their ____ types.
vodomira [7]
I believe the answer is font.
3 0
3 years ago
_______ allows you to add formatting such as shapes and colors to text. a. worddraw b. wordart c. worddesign d. wordshapes
4vir4ik [10]
Word Design is the answer.
4 0
3 years ago
Read 2 more answers
Other questions:
  • …………………..is made upof plastic or glass fibers that transmit data at very fastspeeds.
    10·1 answer
  • Where does the term for a star network describe? A) a network for Department of Defense scientists to share data about the stars
    13·2 answers
  • What are some situations where you might find it useful to use the “!” symbol in a program?
    9·1 answer
  • Analog signals consists of individual electric pulses that represents bits group together into bytes {True/False}
    13·1 answer
  • How Do you get Splatoon two for free
    6·2 answers
  • ¿Que es la energía? (una sola respuesta es la correcta)
    11·1 answer
  • Why has base 2 been accepted and used as the basis for computing?​
    8·1 answer
  • Pls help have absolutely no clue how to delete this
    12·2 answers
  • Under the Home tab, controls for aligning text and objects can be found in the
    5·2 answers
  • Which important aspect of the Roman Empire did the barbarians destroy?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!