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:

  1. The number of even digits
  2. The number of odd digits
  3. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!