题目内容
以下程序的功能是计算函数F(x,y,z)=(x+y)/(x-y)+(z+y)/(z-y)的值,请选择填空。#include #include float f(float,float);main(){float x,y,z,sum; scanf("%f%f%f",&x,&y,&z); sum=f(【1】)+f(【2】); printf("sum=%f\n",sum);}float f(float a,float b){float value; falue=a/b; return(value);}
查看答案
搜索结果不匹配?点我反馈