Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Program: peso.cc
- // Author: Yoan Pinzon
- // Date: Agosto 30, 2006
- #include <iostream>
- using namespace std;
- int main()
- {
- float libras, kilogramos;
- cout << "Libras a Kilogramos" << endl;
- cout << "===================" << endl;
- cout << "Entre el peso en libras= "; cin >> libras;
- kilogramos = libras * 0.453592;
- cout << libras << " libras equivalen a " << kilogramos << " Kg" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement