Computer Science, asked by SamayraaSingh00, 1 year ago

Write a program to calculate the sum of N numbers using for loop


Ankitgodara20: hi samayara
jay1001: Which language ?

Answers

Answered by Anonymous
3

Here is your answer dearr mate...

hopes helps.....

Attachments:
Answered by jay1001
0

Answer:

Well Python code if you need it

Explanation:

n = int(input("Enter the number of terms")

for i in range (1,n+1):

    sum = 0

    sum = sum + i

print(sum)

Similar questions