编辑代码

#include <stdio.h>

int main () 
{
    int a,b,sum;
   scarf("%d%d",&a,&b);
    sum=a+b;
    printf("sum=%d\n",sum);
    return 0;
}