int sum = 0;
for (int i = 101; i < 200; i++)
{
sum += i;
}
// 此处输出sum
int result = 0;
int index = 101;
do
{
result += index;
index++;
} while (index < 200);
// 此处输出result
int sum = 0;
for (int i = 101; i < 200; i++)
{
sum += i;
}
// 此处输出sum
int result = 0;
int index = 101;
do
{
result += index;
index++;
} while (index < 200);
// 此处输出result