I am posting an update to a previous post. I have gotten this far but I cannot for the life of me get the right code in to allow me to prompt the user for the start end and increment values. I could use some help. here is my code
#include <iostream>
#include <iomanip>
using namespace std;
int getMenuSelection(char& Tempconversion );
int getstartendandincremet (int& start, int& end, int& increment);
int ctof();
int ftoc();
int displayctoftable (int& start, int& end, int& increment);
int displayftoctable (int& start, int& end, int& increment);
int selection;
int main()
{
while ("keepgoing")
{
cout << "Temperature Conversions\n\n" << endl;
cout << "C: Convert form celsius to fahrenheit" << endl;
cout << "F: Convert form Farenheit to Celsius" << endl;
cout << "Q: Quit" << endl;
cout << "Enter your selection:" << endl;
cin >> selection;
cout << "enter Start, End, and Increment on one line separated by spaces: " <<endl;
break;
switch (selection)
{
case 'c':
case 'C':
break;
case 'f':
case 'F':
break;
case 'q':
case 'Q':
break;
default:
break;}
}
I prefer to do it this way, I just need help or advice on what I should put in to prompt the user to put in the start end and increment values without skipping over it when the program is ran.