Question: write a program to compute the sum of first n integer of the series: sum = 1 + 2 + 3 + ........ your program
write a program to compute the sum of first n integer of the series: sum = 1 + 2 + 3 + ........ your program must:

[Loops] Write a program to compute the sum of first n integers of the series: Sum = 1 + 2 + 3 t... Your program mus 4. a. Prompt user for integer n, b. Read the value of n from user input c. Calculate Sum, and d. Print Sum on screen. Please use the "Wxitelnt" procedure, not "DumpRegs". Other relevant procedures: "Readlnt" and "WriteString The calculation can be done in many ways, and all submissions that evidence proper programming practice are acceptable. In your homework submission, please embed both the code and one screen shot forn-6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
