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
kramer
4 years ago
8

The program below reads in the number of minutes entered by a user. The program that converts the number of minutes to hours and

minutes. Run the program, then modify the code to work in reverse: The user enters two numbers for hours and minutes and the program outputs total minutes.
Computers and Technology
1 answer:
Pavlova-9 [17]4 years ago
4 0

Answer:

Written in Python:

hours = int(input("Hours: "))

mins = int(input("Minutes: "))

result = hours * 60 + mins

print("Result: "+str(result)+" minutes")

Explanation:

This line prompts user for hours

hours = int(input("Hours: "))

This line prompts user for minutes

mins = int(input("Minutes: "))

This line calculates the required output

result = hours * 60 + mins

This line prints the required output in minutes

print("Result: "+str(result)+" minutes")

You might be interested in
All of the following are ways to save money on transportation except :
Lisa [10]
The options listed are not related to the question. and if they were related in any sense then I would say the cheapest thing on the list is a phone card so I guess you can buy that and save the most for your travel as you can use phone cards anywhere as they have 1800 numbers which are free from any public phone. 
7 0
3 years ago
From the introductory conversation chip and anna shared, which elements mentioned might suggest the use of case tools?
kari74 [83]

CASE tools are used to boost analyst output, enhance user-analyst collaboration, and incorporate life cycle tasks.

Chip and Anna would communicate with one another and discuss parts of the design that they have finished using CASE tools.

Due to the enormous number of users in a system, CASE tools will help to simplify communication among all users and analysts, therefore this would be helpful to Chip and Anna as well.

They could also employ CASE tools to help them record the data they have obtained from questionnaires, interviews, and document analysis.

Learn more about tool:

brainly.com/question/25860017

#SPJ4

8 0
1 year ago
You can create an arraylist using _________. a. new arraylist[] b. new arraylist[100] c. new arraylist<>() d. arraylist()
Tems11 [23]

new ArrayList<>()

ArrayList<data_type> list_name = new ArrayList<>(); The following statement, for instance, can be used to build a generic ArrayList of type String.

ArrayList<String> arraylist = new ArrayList<>(); This will produce a String-type empty ArrayList with the name "arraylist."

Learn more here:

brainly.com/question/16464645

#SPJ4

7 0
2 years ago
You are required to justify the need to implement a collapsed core network. Which justification below makes sense for a collapse
baherus [9]

Answer:

number 3

Explanation:

6 0
3 years ago
What is you full name ?​
Svetllana [295]

Answer:

Name: Whydoyouneedtoknow

8 0
3 years ago
Read 2 more answers
Other questions:
  • Microsoft Surface can do all of the following except ______.
    12·2 answers
  • Rob Janoff believes that technology should not be used too
    11·1 answer
  • In what kind of attack can attackers make use of millions of computers under their control in an attack against a single server
    6·1 answer
  • In 1913, __________ developed a mass production system for cars that made it possible to produce more cars in a shorter period o
    5·2 answers
  • printArray is a method that accepts one argument, an arrayof int. The method prints the contents of the array; it does not retur
    5·1 answer
  • Angelina has added page numbers to her report, but all of the pages are labeled "Page 1" at the bottom. What caused
    8·2 answers
  • Linux is a kind of software whose code is provided for use, modification, and redistribution. what kind of software is this?
    5·1 answer
  • Which of the following components converts AC to DC?
    5·1 answer
  • Test unit 8 edhesive answers ​
    15·1 answer
  • Write a function that accepts a cell array StudentScores consisting of the following:
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!