A natural number x of maximum 9 digits is read from the keyboard. It is required to check whether the number of even digits is equal to the number of odd digits.
Example: if x = 61432, then it has 3 even digits (2, 4, 6) and 2 odd digits (3, 1), from which it results that the number of even digits is not equal to the number of odd digits. Make this with while and without subprograms please :*