fork download
  1. #include <cstdio>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int in;
  7. bool x;
  8. scanf("%d ", &in);
  9. x = in<5;
  10. if(x)
  11. printf("Mniejsze od 5\n");
  12. else
  13. printf("Wieksze lub rowne 5\n");
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 2900KB
stdin
3
stdout
Mniejsze od 5