Question: Write a program using for loop that will interact in the following manner Enter how many numbers you want to add: 5 Enter a number:
Write a program using for loop that will interact in the following manner Enter how many numbers you want to add: 5 Enter a number: 30 Enter a number: 40 Enter a number: 50 Enter a number: 100 Enter a number: 20 Sum of 5 numbers = 240
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
