fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int number;
  5. printf("Enter an integer: ");
  6. scanf("%d", &number);
  7. printf("You entered: %d\n", number);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5276KB
stdin
10
aba
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
stdout
Enter an integer: You entered: 10