Expand|Select|Wrap|Line Numbers
- #include <iostream>
- using namespace std;
- int main() {
- float centimeters;
- float inches;
- cout << "Enter number of Inches: ";
- cin >> centimeters;
- inches = 1 * 2.54;
- cout << "centimeters = " << inches << endl;
- system("PAUSE");
- return 0;
- }