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. #include <stdio.h>
  6. int main ()
  7. {
  8. /* variable definition: */
  9. int a, b, c;
  10. /* variable initialization */
  11. a = 10;
  12. b = 20;
  13. c = a + b;
  14. printf("Integers (a,b) and sum (c) are : %d,%d,%d \n", a,b,c);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 4420KB
stdin
Standard input is empty
stdout
Integers (a,b) and sum (c) are : 10,20,30