Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void function(int,int);
- int main()
- {
- int a,b;
- cout<<"a=:";
- cin>>a;
- cout<<"b=:";
- cin>>b;
- function(a,b);
- system("pause");
- return 0;
- }
- void function(int a, int b)
- {
- if(a>b){
- cout<<"chicloto "<<a<<" e po-golqmo"<<endl;
- } else {
- cout<<"chicloto "<<b<<" e po-golqmo"<<endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement