Answered step by step
Verified Expert Solution
Link Copied!

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 muchimage text in transcribed

image text in transcribed

image text in transcribed

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/5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions

Question

How will they be accountable?

Answered: 1 week ago