#include<iostream>
using namespace std;
int main()
{
int n=10;
int s = 0;
//cin >> n;
while (n>0)
{
s += n;
n--;
}
cout << s<< endl;
system("pause");
return 0;
}
using namespace std;
int main()
{
int n=10;
int s = 0;
//cin >> n;
while (n>0)
{
s += n;
n--;
}
cout << s<< endl;
system("pause");
return 0;
}
1685

被折叠的 条评论
为什么被折叠?



