So, my assignment wants me to take an integer and print how ever many numbers until it reaches that number.
So basically, if you type 5, the output would be : 1,2,3,4,5.
My logic was this
Define a for loop that starts at 1 and iterates until i is equal to the parameter.
In the loop use WriteLine and a format specifier to print out the value of the for loop variable followed by a period.
Then print result.
I am not sure how to code this based off of my thinking (DON"T SAY I DIDN"T TRY), can someone assist me code this or refer me to a reference?