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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!