Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void function(int,int);
  5.  
  6. int main()
  7. {
  8. int a,b;
  9. cout<<"a=:";
  10. cin>>a;
  11. cout<<"b=:";
  12. cin>>b;
  13. function(a,b);
  14. system("pause");
  15. return 0;
  16. }
  17.  
  18. void function(int a, int b)
  19. {
  20. if(a>b){
  21. cout<<"chicloto "<<a<<" e po-golqmo"<<endl;
  22. } else {
  23. cout<<"chicloto "<<b<<" e po-golqmo"<<endl;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement