Remember to checkout the Codesnip below to review the C++ code yourself! Feel free to copy the code, but I ask that you please provide credit if you leave the code unchanged when you use it.
//Programmer: Nazmus //Program: The Do While Loop //Website: EasyProgramming.net #include <iostream> #include <string> using namespace std; int main() { float yard, feet; int redo; do{ cout << "Please input number of yards: "; cin >> yard; feet = yard * 3; cout << yard << " yards equal to " << feet << " feet." << endl; } while(feet != 3); system("pause"); }