Guest User

Untitled

a guest
Dec 15th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a,b;
  6.  
  7. cout<<"Podaj pierwsza liczbe";
  8. cin>>a;
  9.  
  10. cout<<"Podaj druga liczbe";
  11. cin>>b;
  12.  
  13. if (a=b)
  14.  
  15. cout<<"twoje liczby sa rowne";
  16. {
  17. if (a>b)
  18.  
  19. cout<<a<< "jest wieksze od"<<b<<;
  20.  
  21. }
  22.  
  23.  
  24. else
  25.  
  26. cout<<"twoje liczby nie sa rowne";
  27.  
  28.  
  29. else
  30.  
  31. cout<<b<<"jednak jest wieksze od"<<a<<;
  32.  
  33.  
  34.  
  35. }
Add Comment
Please, Sign In to add comment