下面add函数的功能是求两个参数的和,并将和值返回调用函数。函数中错误的部分改正void add(float a ,float b){ float c;c=a+b;return c;}
float add(float a, float b){float c;c = a + b;return c;}