编辑代码

#include <stdio.h>
void main ()
{
    float a,b,s;
    printf("please input a,b:");
    scanf("%d%d,a,b");
    s=a+b;
    printf("the result is %d\n",s);
}