#include /* * * 5.3 * * */ int main () { int sum = 0; int val = 1; while (val <= 10 && (sum += val, ++val)); std::cout << sum << std::endl; return 0; }