fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5. int age;
  6.  
  7. printf("Enter your age:");
  8. scanf("%d", &age);
  9. if (age>18)
  10.  
  11. printf("Your age is bigger than 18. Age is %d\n", age);
  12.  
  13. // your code goes here
  14. return 0;
  15. }
  16.  
  17.  
  18.  
  19.  
  20.  
Success #stdin #stdout 0s 4368KB
stdin
Standard input is empty
stdout
Enter your age:Your age is bigger than 18. Age is 32764