I want to know the sum of every whole number from 1 up towhatever number I give you, without doing the additionmyself.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
for, the same shape as Times Table in this set.Only one-star challenges have this section. If you already know how to begin, skip it — and when you move up to two stars, working out the order yourself is part of the job.
int.Parse.for loop from 1 up to and including that number, adding each pass's value to the total.Add up to what number? 10
Sum: 55Verified in a real run — 1 through 10 sums to exactly 55.
Your requirements list and your program file, named cc-add-it-up.