Computer Science, asked by aviksagar1, 21 days ago

public class KboatSeriesSum
{
public static void main(String args[]) {
int sum = 0;
for (int i = 1; i <= 10; i++) {
int p = 1;
for (int j = 1; j <= i; j++)
p *= j;
sum += p;
}
System.out.println("Sum = " + sum);
}
}
Could you write the variable description for this program

Answers

Answered by jaswanthkumar991
0

Answer:

Sum=10

Explanation:

the result of the program is given above

Similar questions