Question: Write a program that prompts for an integers and then finds the sum of consecutive integers starting at 1. Thus, if =5 , you will
Write a program that prompts for an integers and then finds the sum of consecutive integers starting at 1. Thus, if =5 , you will find the sum of 1+2+3+4+5=15 . (If you wish, you may use a formula instead of finding the sum directly).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
