JakubKaczmarek_123

zadanie 8

Apr 16th, 2021
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int a = 45;
  7. int b = 44;
  8. int *w_a = &a;
  9. int *w_b = &b;
  10.  
  11. int main(){
  12. if (*w_a > *w_b) cout << "Liczba 45 jest wieksza od 44" << endl;
  13. else cout << "Liczba 44 jest wieksza od 45" << endl;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment