Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, I need to write the program in C++, I wrote a code but it shows mistakes which I am trying to fix but it
Hello, I need to write the program in C++, I wrote a code but it shows mistakes which I am trying to fix but it doesn't work. Please help me to write a code and make sure there is no mistakes. It has to be in C++ and has to have the right outcome without mistakes.Thank you very much
Provide an application that allows users to select the method how to convert between miles and kilometers by using the formula or using the estimation. After finishing one, re-display the menu to allow users to continue to convert until they want to exit There are 4 options to convert: 1. FORMULA: Convert distance in miles to kilometers: read the distance in miles from the keyboard, then convert it to kilometers 2. FORMULA: Convert distance in kilometers to miles: read the distance in kilometers from the keyboard, then 3. ESTIMATE: Convert distance in mile to kilometers: read the distance in miles from the keyboard, then 4. ESTIMATE: Convert distance in kilometers to miels: read the distance in kilometers from the keyboard, then covert it to miles estimate estimate FORMULA: you can use the following formula: Distance in miles Distance in km 0.62137 Distance in km Distance in miles*1.60935 ESTIMATE Distance in miles = Distance in km * 5/8 Distance in km Distance in miles * 8/5Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started