Design a program that generates the sum of numbers. Given a number (user input) you need an application that will produce a sum of the numbers from 1…

Design a program that generates the sum of numbers.Given a number (user input) you need an application that will produce a sum of the numbers from 1 to that given number.You must include an iteration structure in this project to perform the main function of creating the sum of the numbers.