|
|
发表于 2024-8-8 16:40:27
|
显示全部楼层
0。long long int
1.char 和 _Bool
2.不是,是一个运算符
3.32
4.char? _Bool?
5.EF
6.程序只会执行命令
0.
#include <stdio.h>
#include <math.h>
int main()
{
float result = 1.0;
printf("%.f\n", pow(result, result + 1));
result += 1;
printf("%.f\n", pow(result, result + 1));
result += 1;
printf("%.f\n", pow(result, result + 1));
printf("不想在写了!");
return 0;
}
1.
#include <stdio.h>
#include <math.h>
int main()
{
int sum, temp, i;
double weight;
temp = 1;
sum = 0;
for (i = 0; i < 64; i + 1);
{
sum += temp;
temp = pow(temp,2);
}
sum += temp;
weight = sum;
weight = weight / 25000;
printf("应给%d颗麦子,共%f千克", sum, weight);
return 0;
}
|
|