calculate the sum of first 'n' even integer numbers excluding zero. ( Java )
Input 20
output 420
Answers
Answered by
0
Explanation:
Input : n = 4 Output : 20 Sum of first 4 even numbers = (2 + 4 + 6 + 8) = 20 Input : n = 20 Output : 420
Similar questions
Math,
1 month ago
Physics,
1 month ago
Social Sciences,
1 month ago
Chinese,
3 months ago
Social Sciences,
3 months ago
English,
10 months ago
Math,
10 months ago
Science,
10 months ago