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
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
0
Answer:
input: N = 20
output: 420
Similar questions
English,
3 months ago
Math,
3 months ago
English,
3 months ago
Math,
6 months ago
Accountancy,
6 months ago
Social Sciences,
1 year ago
Science,
1 year ago