Question: This program should be written in C programming language. Write a program that will prompt user and read a sequence of digits from the keyboard.
This program should be written in C programming language.
Write a program that will prompt user and read a sequence of digits from the keyboard. The program will then print out:
- The number of even digits
- The number of odd digits
- The difference of the items above.
Example: Please enter a sequence of digits: 67812395737
There are 3 even digits.
There are 8 odd digits.
The difference of odd and even numbers is 5.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
