Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a c++ program that prompts the user to take one of the following options.

ID: 3628129 • Letter: W

Question

write a c++ program that prompts the user to take one of the following options.
1. CONVERT A CHARACTER TO DECIMAL,OCTAL, AND HEX VALUES
2.. CONVERT A DISTANCE
3. Exit the program
the program continues to present the options list to the user until he/she whishes to exit.
If a character conversion is selected, you should ask the user to imput a keyboard character and then write out the character and its decimal,octal, and hex values. for example, if the user entered an M, you would write :
character M is 77(decimal) 115 (octal) and 4d(hex)
If the user selected a distance conversion, you must then ask which conversion to perform.1. inches to meter and 2. miles to kilometers.

Explanation / Answer

#include #include using namespace std; int menu(); int menu2(); void charConvert(); void measureConvert(); int main() {int choice; choice=menu(); while(choice!=3) {if(choice==1) charConvert(); else measureConvert(); choice=menu(); } cout