Question: #include #include #include using namespace std; double CtoF(double start ) { double f=0; f=(9.*start/5.)+32.; return f; } double FtoC (double start) { double c =
#include
double CtoF(double start ) { double f=0; f=(9.*start/5.)+32.; return f; } double FtoC (double start) { double c = 0; c = (5./9.) * (start-32.); return c; } void displaymenu() { cout << "Please enter one of the following please" << endl; cout << "'C' for celcius to farenheit(C to F)" << endl; cout << "'F' for farenheit to celcius(F to C)" << endl; cout << "Or to Exit the program 'Q'" << endl; } char getMenuSelection() { char choice; do{ cout<<"Enter your choice"< return 0; } 1. Rewrite the above program so that all functions are of void type. Use a reference parameter, temperature, that act as the vehicle in which to pass in the temperature to convert and return the converted temperature, allowing it to be changed within the function.. It's for a C++ class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
