Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Program: max.cc
- // Author: Yoan Pinzon
- // Date: Agosto 30, 2006
- #include <iostream>
- using namespace std;
- int main()
- {
- int x, y;
- cout << "Maximo" << endl << "======" << endl;
- cout << "Entre un numero = "; cin >> x;
- cout << "Entre otro numero = "; cin >> y;
- if( x > y )
- {
- cout << "El numero " << x << " es mayor o igual que " << y << endl;
- }
- else
- {
- cout << "El numero " << y << " es mayor o igual que " << x << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement