#include int main(){ int i = 50; int total = 0; while (i < 101){ total += i; std::cout << i << " " << total << std::endl; i++; } return 0; }