#include<stdio.h>
#include<math.h>
int main()
{
double temp;
double a, b, c;
temp = a + b + c;
while ((29 * a + 30 * b + 31 * c) == 366)
{
printf("f %", temp);
}
return 0;
什么破代码
abc没赋值也就罢了
while是个什么鬼
如果结果是366就陷入死循环,不停print
还是先恶补基础语法再来写程序,别瞎写啊
因为你没有scanf()啊
scanf("%lf %lf %lf",&a,&b,&c);