Computer Science, asked by Anonymous, 1 year ago

Write program for the sum of series.

Attachments:

Answers

Answered by Akash2910
1
okay here is the logic part, notify me if you want the entire program
int s = 0;
for(int i = 1;i<=n;i++)
s= s+i;
System.out.println(s);


Anonymous: i didnt understand your statement given as s
Anonymous: can you give the entire program??
Anonymous: can you give the entire program please???
Similar questions