Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- // By Puntoinfinito 10/08/12 12:38
- int main()
- {
- unsigned short int largo, ancho, base;
- cout << "Que anchura tiene la figura >>> ";
- cin >> ancho;
- cout << "Y que altura >>> ";
- cin >> largo;
- base = (largo*ancho);
- cout << "La figura tiene una base de : " << base << endl;
- cin.sync();
- cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement