fork download
  1. #include<stdio.h>
  2. int main(){
  3. int number;
  4. printf("Enter a number:");
  5. scanf("%d",&number);
  6. if(number%2==0){
  7. printf("%d is even number",number);
  8. }
  9. return 0;
  10. }
Success #stdin #stdout 0s 5536KB
stdin
Standard input is empty
stdout
Enter a number: