#define _USE_MATH_DEFINES
#include <stdio.h>
#include <math.h>
#include<stdbool.h>
int main() {
double x=0.2;
bool is_data=true;//false
int a=9;
int b=8;
if(a>b){
printf("5.返回弧度角 x 的余弦。%.2f\n",cos(a));
}
else if(a<b){
printf("%.2f\n",a);
};
return 0;
}
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <math.h>
#include<stdbool.h>
int main() {
double x=0.2;
bool is_data=true;//false
int a=9;
int b=8;
if(a>b){
printf("5.返回弧度角 x 的余弦。%.2f\n",cos(a));
}
else if(a<b){
printf("%.2f\n",a);
}
else
{
printf("哈哈");
};
return 0;
}