Tell your teacher about arithmetic progression's sum :)
1 2 3 4 5 6 7 8 9 10 11
#include <iostream>
usingnamespace std;
constunsignedint user_number = _USER_NUMBER_
unsignedlonglong sum = 0;
for (unsignedint z = 1; z < user_number; z++)
sum += z;
cout << sum << endl;