#include <iostream>
using namespace std;
int main() {
int sum = 0, c = 0, start = 0;
while (++c <= 10) {
sum += start++;
}
cout << sum;
return 0;
#include <iostream>
using namespace std;
int main() {
int sum = 0, c = 0, start = 0;
while (++c <= 10) {
sum += start++;
}
cout << sum;
return 0;
}