fork download
  1. #include<stdio.h>
  2. void main(){
  3. int a,b,result;
  4. printf("Enter the two numbers:");
  5. scanf("%d %d",&a,&b);
  6. result=a+b;
  7. printf("result=%d",result);
  8. }
Success #stdin #stdout 0.01s 5320KB
stdin
45
stdout
Enter the two numbers:result=32811