Question: QUESTION 1 (5 marks): (C01 - PO1(C3)] Write a program that computes the summation of n numbers by using for loops where nis a data
![QUESTION 1 (5 marks): (C01 - PO1(C3)] Write a program that](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/10/6703fcc0534eb_5596703fcbfc32ee.jpg)
QUESTION 1 (5 marks): (C01 - PO1(C3)] Write a program that computes the summation of n numbers by using for loops where nis a data value. Display the message that indicates the value of 1+2+3+......+(n-1) + n. Show the output of the program and what is the output when n=9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
