fork download
  1.  
  2. #include <stdio.h>
  3.  
  4. int main() {
  5. int num1, num2, num3;
  6.  
  7. // Prompt the user to input three integers
  8. printf("Enter the first integer: ");
  9. scanf("%d", &num1);
  10.  
  11. printf("Enter the second integer: ");
  12. scanf("%d", &num2);
  13.  
  14. printf("Enter the third integer: ");
  15. scanf("%d", &num3);
  16.  
  17. // Print the entered integers
  18. printf("\nYou entered: %d, %d, %d\n", num1, num2, num3);
  19.  
  20. return 0;
  21. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
Enter the first integer: Enter the second integer: Enter the third integer: 
You entered: 22079, -1563775888, 32767