int main() { int N; cout << "Please input a natural number N -- "; cin >> N; cout << endl; cout << sumN(N) << '\t' << sumNCubes(N) << endl; return 0; }
Please input a natural number N -- 5 15 225