fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int n = 10;
  6. if (n == 10) {
  7. printf("n is exactly 10\n");
  8. }
  9. if (n % 2 == 0) {
  10. printf("n is an even number\n");
  11. }
  12. if (n < 5) {
  13. printf("n is less than 5\n");
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
n is exactly 10
n is an even number