Program to display 1 to ‘n’ numbers and display sum of 1 to ‘n’.



Enter the numbers you want to display:5

1       2      3      4      5

the sum from 1 to 5  =15

About programming faster

not a that-great dude. just tries to keep up with what seems interesting!
This entry was posted in C, precise examples and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *