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