Computer Science, asked by rashmibgavas, 5 months ago

write a program to find all the odd number between 25 to 50​

Answers

Answered by aarusharma094
3

Answer:

37

Explanation:

The below workout with step by step calculation shows how to find what is the average of odd numbers between 25 and 50 manually.

step 1 Address the formula, input parameters & values.

Formula: Average = Total Sum of Numbers / Total Count of Numbers

Input parameters & values:

The odd numbers between 25 and 50 are

25, 27, 29, 31, . . . . , 45, 47, 49

Total Count of Numbers = 13

step 2 Find the sum of odd numbers between 25 and 50.

sum = 25 + 27 + 29 + . . . . + 47 + 49

= 481

step 3 Divide the sum by 13

Average = 481/13

= 37

Thus, 37 is an average of odd numbers between 25 and 50.

Similar questions