fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void) {
  5. int a;
  6. printf("Enter a number: ");
  7. scanf("%d", &a);
  8. printf("You have entered %d",a);
  9. return EXIT_SUCCESS;
  10. }
  11.  
Success #stdin #stdout 0.01s 5288KB
stdin
2
stdout
Enter a number: You have entered 2