fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. /* double definition: */
  5. double a, b, c;
  6.  
  7. /* double initialization */
  8. a = 5.2;
  9. b = 2.5;
  10. c = a/b;
  11. printf("Double (a,b) and quotient (c) are : %d,%d,%d \n", a,b,c);
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 9416KB
stdin
Standard input is empty
stdout
Double (a,b) and quotient (c) are : 1257934136,1257934152,0