Question: Write a program that utilizes a while loop to calculate the sum of the numbers in a vector that will be specified by the user
Write a program that utilizes a while loop to calculate the sum of the numbers in a vector that will be specified by the user on the keyboard. The user will be asked to enter the vector and the loop will run through to determine the sum of the numbers. Test your code with the vector -550:3:100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
