Question: Design a for loop that gets 6 integer numbers from a user, accumulates the total of them, then displays the accumulated total to the user.
Design a for loop that gets 6 integer numbers from a user, accumulates the total of them, then displays the accumulated total to the user. Just write the code segment to show what is asked, not a complete program. however, declare any variables that you need to use. Use a semicolon (;) at the end of each line of code so I can tell when you use a new line in your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
