#include <iostream> int main() { int sum = 10,val=9; while (val<=0) { sum=sum-val; val=val-1; } std::cout<<sum<<std::endl; return 0; }