请问,R'为什么是这样写的呀,偏序关系不是有自反,反对称,传递性吗,图片中的答案怎么和我想的不一样
不知道你这个问题是否已经解决, 如果还没有解决的话:#include<stdio.h>
#include<math.h>##因为有M_PI所以必须因为math函数,因为是浮点所以面积必须规定为浮点
float square(int a){
return M_PI*a*a;
}
int main(){
int a;
scanf("%d",&a);
float hhhh=square(a);
printf("面积是:%f",hhhh);
}