In class we are doing a problem where we ask the height in inches, and display the height it feet an inches. Then we have to ask if they would like to enter another height, which is where I am stuck. I have where it asks "Do you want to enter another height (Y/N)" I just dont know how to loop so it will continue the program until the user selects "N"
*edit* I did i do-while loop and it asks the user once more to enter their height, and after that one time it ends the program.
#include <iostream>
using namespace std;
int main()
{
int Feet;
int Inches;
char response;
Inches = 0;
Feet = 0;
char n = 0;
char N = 0;
char Y = 0;
char y = 0;
response = 0;
cout << "Please enter your height in inches ";
cin >> Inches;
cout << endl;