fork download
  1. #include<stdio.h>
  2.  
  3. int main () {
  4. int a,b,c;
  5. printf("Value of a:",a);
  6. scanf("%d",&a);
  7. printf("Value of b:",b);
  8. scanf("%d",&b);
  9. c=a+b;
  10. printf("sum=:",c);
  11. return 0;
  12. }
Success #stdin #stdout 0.04s 25684KB
stdin
Standard input is empty
stdout
#include<stdio.h>

int main () {
    int a,b,c;
    printf("Value of a:",a);
    scanf("%d",&a);
    printf("Value of b:",b);
    scanf("%d",&b);
    c=a+b;
    printf("sum=:",c);
    return 0;
}