Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include <cstdlib>
- using namespace std;
- float cm;
- float in;
- float ft;
- int main()
- {
- cout << "Please input the number you wish to be converted "
- "into inche/s and feet/foot : "
- << endl << endl;
- cin >> cm;
- cout << endl
- << " inche/s is " << (cm / 2.54) << " in."
- << '\n'
- << " foot/feet is " << (cm / 30.48) << " ft. "
- << endl << endl;
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement