fork download
  1. // C code
  2. // This program will sum two integer numbers to yield a third integer number.
  3. // Developer: Faculty CMIS102
  4. // Date: Jan 31, XXXX
  5.  
  6. #include <stdio.h>
  7. int main ()
  8. {
  9. /* variable definition: */
  10. float a, b, c;
  11.  
  12. /* variable initialization */
  13. a = 20.0;
  14. b = 10.0;
  15. c = a/b;
  16. printf("Integers (a,b) and qoutient (c) are : %d,%d,%d \n", a,b,c);
  17. return 0;
  18. }
Success #stdin #stdout 0s 9416KB
stdin
Standard input is empty
stdout
Integers (a,b) and qoutient (c) are : 1896274056,1896274072,0