#include<stdio.h>float sum(float x,float y){return x+y;} main(){float a,b;printf("请输入a,b:\n");scanf("%d%d",&a,&b);printf("总和=%f\n",sum(a,b));}