以下程序的功能是计算函数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);}
A. 【1】x-y,x+y,【2】x-y,x+y
B. 【1】x+y,x-y,【2】z+y,z-y
C. 【1】z-y,z+y,【2】x-y,x+y
D. 【1】z-y,z+y,【2】z-y,z+y