Question: Task 2 : ( Even and Odd ) Write a program that counts the number of odd digits and even digits in an integer. The
Task : Even and Odd Write a program that counts the number of odd digits and even digits in an integer. The user should enter the desired integer and the program counts the number of odd digits and even digits in that integer. Write a function that determines the number of odd digits and even digits and displays the same to the user.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
