subject

Exercise 3.6.8: Running Speed5 points Write a program that asks the user how many miles they ran and how many minutes it took to run that far. Ask for the input in this order!

Convert their speed to miles per hour and print out their speed.

Be sure to include comments that describe the program’s behavior which is how the program functions and how the user interacts with it.

Sample output:

How many miles did you run? 3
How many minutes did it take you? 60
Speed in mph: 3.0
code in python

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
Consider the following statements: #include #include class temporary { private: string description; double first; double second; public: temporary(string = "", double = 0.0, double = 0.0); void set(string, double, double); double manipulate(); void get(string& , double& , double& ); void setdescription(string); void setfirst(double); void setsecond(double); }; write the definition of the member function set() so that the instance variables are set according to the parameters. write the definition of the constructor so that it initializes the instance variables using the function set() write the definition of the member function manipulate() that returns a decimal number (double) as follows: if the value of description is "rectangle", it returns first * second if the value of description is "circle" it returns the area of a circle with radius first if the value of description is "cylinder" it returns the volume of a cylinder with radius first and height second. hint: the volume of a cylinder is simply the area of the circle at the base times the height. if the value of description is "sphere" it returns the volume of the sphere with radius first. otherwise it returns -1.0;
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
question
Computers and Technology, 24.06.2019 20:00
Which element will you include to present numerical on a slide? a: graph b: text c: flowchart d: shapes
Answers: 1
You know the right answer?
Exercise 3.6.8: Running Speed5 points Write a program that asks the user how many miles they ran an...
Questions
question
English, 19.11.2020 14:00
question
Arts, 19.11.2020 14:00
question
Mathematics, 19.11.2020 14:00
question
Arts, 19.11.2020 14:00
question
Mathematics, 19.11.2020 14:00
question
English, 19.11.2020 14:00
question
Mathematics, 19.11.2020 14:00
question
Arts, 19.11.2020 14:00
question
Arts, 19.11.2020 14:00
Questions on the website: 13722361