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 20:30
To display data in a certain manner like alphabetical order is called
Answers: 1
question
Computers and Technology, 21.06.2019 21:40
Write c function that can replace all the positive elements to 0 and negative to 1 in undefined length one-dimensional array. test your program in the main program by defining one-dimensional array of 6 elements
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 22.06.2019 17:40
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
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
History, 14.07.2020 02:01
question
Mathematics, 14.07.2020 02:01
question
English, 14.07.2020 02:01
Questions on the website: 13722360