fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main (void)
  4. {
  5. int num1 = 12400;
  6. double num2 = 5.234;
  7.  
  8. printf ("%d is a integer\n",num1);
  9. printf ("%f is a double\n",num2);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
12400 is a integer
5.234000 is a double