Computer Science, asked by kreezyk14, 6 months ago

The following program is intended to calculate the sum of first 'n' even integer numbers excluding zero. Write the appropriate statement to complete the program given below.

Note: Integer variable 'n' is already defined and initialized. You don't have to read the value of 'n'.

Answers

Answered by vanitamakwana85
0

Answer:

Input : n = 4

Output : 20

Sum of first 4 even numbers

= (2 + 4 + 6 + 8) = 20

Input : n = 20

Output : 420

Answered by Anonymous
0

Answer:

input: N = 20

output: 420

Similar questions