subject

Create a menu and ask the user which of the following conversions they wish to perform: a. Miles to kilometers b. Gallons to liters c. Pounds to kilograms d. Inches to centimeters e. Fahrenheit to Celsius 2. Your program must raise an exception if the user chooses any item not on the menu presented. Along with raising an exception, write the code to handle this exception. (LO 5) 3. Once the user has chosen a menu item the program should: a. Ask the user for a value to convert. Refer to the input validations in Lab 4. Your program must raise and exception, and handle the exception, if an input errors occurs. (LO 5) b. Perform the conversion and write the original value, the original unit, the converted value, and the converted unit to an output file named conversions. txt. (LO 1, 3) c. Repeat steps a and b 10 times (in a loop).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:50
Python write an expression that executes the loop body as long as the user enters a non-negative number. note: if the submitted code has an infinite loop, the system will stop running the code after a few seconds and report "program end never reached." the system doesn't print the test case that caused the reported message. sample outputs with inputs: 9 5 2 -1
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
How is energy expended in active transport
Answers: 1
question
Computers and Technology, 25.06.2019 03:00
What judgment would you make about open systems interconnect? not useful that it is a technology that it is a model that it does not pertain to technology
Answers: 1
You know the right answer?
Create a menu and ask the user which of the following conversions they wish to perform: a. Miles to...
Questions
question
Mathematics, 01.12.2020 19:10
question
Health, 01.12.2020 19:10
question
Mathematics, 01.12.2020 19:10
question
Mathematics, 01.12.2020 19:10
question
History, 01.12.2020 19:10
question
Mathematics, 01.12.2020 19:10
question
Mathematics, 01.12.2020 19:10
Questions on the website: 13722363