fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int num;
  5. printf("Enter a number: ");
  6. scanf("%d", &num); // รับค่าจากผู้ใช้
  7. printf("You entered: %d\n", num);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
Enter a number: You entered: 32764