Question: I need to write a program that accomplishes the above tasks in C++ To create a C++ Console application that utilizes functions to create the

 I need to write a program that accomplishes the above tasks

I need to write a program that accomplishes the above tasks in C++

To create a C++ Console application that utilizes functions to create the 'Menu Driven Conversion Calculator' application. Create a menu-driven application that supports the following menu options - A. Miles to Kilometers, B. Kilometers to Miles, Q. Quit. The program should continue to process conversions until Quit is selected. The overall design of your program is up to you. Your program should implement and use the following functions- double milesToKilometers (double miles): takes miles and returns kilometers double kilometersToMiles (double kilometers): take kilometers and returns miles char getMenuChoice(): getMenuChoice should display the required menu and prompt the user to make a choice. The function should return choice as type char. Validation is optional. Your main function should contain the menu switch (i.e. switch should not be in your getMenuChoice function). Also, your milesToKilometers, and kilometersToMiles functions should NOT contain any cin or cout statements. These functions are strictly calculation functions (i.e. a single value is passed to the function, and a single value is returned)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!