Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Program: pies2cms.cc
- // Author: Yoan Pinzon
- // Date: Agosto 30, 2006
- #include <iostream>
- using namespace std;
- int main()
- {
- float cms, pies;
- cout << "Convertidor de Pies a Centimetros" << endl;
- cout << "=================================" << endl;
- cout << "Entre una longitud en centimetros = ";
- cin >> cms;
- pies = cms / 30.48;
- cout << cms << " centimetros = " << pies << " pies" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement