How do you get a certain part of code to keep looping till a string a characters are entered??
<tag>
cout << "Enter a value:" << endl;
cin >> a;
cout << "Enter the desired opperation:" << endl;
cin >> f;
cout << "Enter a value:" << endl;
cin >> b;
<\tag>
ok in case you can't tell i'm a super newbie at this. This ^ is supposed to be a calculator and it works but it want to know how to make this part repeat untill the word "calculate " is entered. I know about the "for" statement but i'm not sure how or if it applies here.