// Given length in inches, this program outputs the equivalent // length in feet and remaining inch(es). #include using namespace std; int main() { int inches; //variable to store total inches cout << "Enter inches and press Enter: "; cin >> inches; cout << endl; cout << inches << " inch(es) = "; //output the value of //inches and the equal sign cout << inches / 12 << " feet (foot) and "; //output maximum //number of feet (foot) cout << inches % 12 << " inch(es)" << endl; //output //remaining inches return 0; }