Solved Problem#CPP#2005
Back
Problem Statement - Sum of natural numbers up to a value given by the user.
Write a c++ program to collect a positive integer value from the user and print the list of all natural numbers up to that number. Also print the sum of the natural number printed.
