问题描述
- 运行结果怎么回事,dev c++运行从74开始,求解
-
#include
#define MAX 100
int main(void)
{
int count = MAX + 1;while(--count>0){
printf("%d bottles of spring water on the wall,"
"%d bottles of spring water!n",count,count);
printf("Take one down and pass it around,n");
printf("%d bottles of spring water!nn",count-1);
}return 0;
}
解决方案
把宏名称MAX改下
MaxCount也行
时间: 2025-01-23 22:24:48