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: Yard to Feet conversion //Website: EasyProgramming.net #include <iostream>; using namespace std; void main() { int yard, feet; cout << "Please input number of yards: "; cin >> yard; feet = yard * 3; cout << yard << " yards equal to " << feet << " feet." << endl; system("pause"); }