what is the formula of finding the even and odd number between the given number
Answers
Answered by
14
Answer:
Total numbers in the range will be (R – L + 1) i.e. N. If N is even then the count of both odd and even numbers will be N/2. If N is odd, If L or R is odd, then the count of odd number will be N/2 + 1 and even numbers = N – countofOdd.
Answered by
3
Answer:
To get count of odd or even numbers between a range, follow the process as below: Correct the Range to start and end with inclusive numbers as per question and then use following formula : (m - n)/2 + 1 where m is greater than n. Example: All Odd numbers between 21 - 61.
Step-by-step explanation:
hope this helps uh
Mark me as brainlist please
Similar questions