Thinking Corner
1. What is the sum of first
n odd natural numbers?
2. What is the sum of first
n even natural numbers?
Answers
Answered by
0
Step-by-step explanation:
Output : 20
Sum of first 4 even numbers
= (2 + 4 + 6 + 8) = 20
Input : n = 20
Output : 420
Similar questions