Input is accepted by variable n. Odd and even numbers are extracted from this variable n using pointers n1 and n2. The variable n is divided by 10 and the remainder is stored in variable r. The quotient obtained after this division is considered as variable n. Then variable r is then divided by 2 and if it returns 0 as remainder ,then the variable r is considered as even number and stored in pointer n2 . If 0 is not obtained, then the variable r is considered as odd number and stored in pointer n1. This process continuous until the variable n is decremented to 0
Answers
Answered by
1
don't know mate.......
Similar questions