how to write an algorithm to find sum of first n odd numbers?
Answers
Answered by
1
Explanation:
To find the sum of first n odd numbers we can apply odd number theorem, it states that the sum of first n odd numbers is equal to the square of n. if we apply odd number theorem: sum of first 10 odd numbers = n * n = 10 * 10 = 100
Similar questions
Math,
2 months ago
Art,
2 months ago
Environmental Sciences,
2 months ago
Science,
4 months ago
Science,
4 months ago
English,
10 months ago
English,
10 months ago
Computer Science,
10 months ago