fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a=2,b=3;
  5. int add;
  6. printf("enter a,b values");
  7. scanf("%d %d",&a,&b);
  8. add = a+b;
  9. printf("addition:%d+%d=%d",a,b,add);
  10. }
  11.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
enter a,b valuesaddition:2+3=5