Question: Wirite a program that will prompt user and read a sequence of digits from the keyboard. The program will then print out 1. The number

 Wirite a program that will prompt user and read a sequence

Wirite 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 w items above. Make your output descriptive so others can understand the meaning of each number in the output. Hint You can reference the program discuss during the storeDigits c (this file can be found in the Blackboad) A sample output screen shot: 199.111.112.141 PuTTY bash-4.3S ./testWritten Please enter a sequence of degists: 67812395737 There are 3 even digits There are 8 odd digits The difference of odd number and even number is 5 bash-4.3$

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!