Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main ()
  7. {
  8. int x;
  9. cout<<"PODAJ LICZBE SZMATO"<<endl;
  10. cin>>x;
  11. if (x>0)
  12. {
  13. cout<<"to liczba jest wieksza od 0"<<endl;
  14.  
  15. }
  16. else if (x<0)
  17. {
  18. cout<<"to liczba nie jest wieksza od 0"<<endl;
  19. }
  20. else
  21. {
  22. cout<<"twoja stara jest 0 XD"<<endl;
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. return 0;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement