#include<stdio.h>
/*
int main()
{
int i = 1, sum = 0;
while (i <= 100)
{
sum = i + sum;
i++;
}
printf("%d %d\n", i, sum);
return 0;
}*/
while循环
最新推荐文章于 2024-08-16 21:01:11 发布
#include<stdio.h>
/*
int main()
{
int i = 1, sum = 0;
while (i <= 100)
{
sum = i + sum;
i++;
}
printf("%d %d\n", i, sum);
return 0;
}*/