Question: Write a program that reads characters and displays how many characters between the first two consecutive are letters, digits, and other than letters and digits.

 Write a program that reads characters and displays how many characters

Write a program that reads characters and displays how many characters between the first two consecutive are letters, digits, and other than letters and digits. If there are no two the program should display an informative message. For example, if the user enters: labc RRa.35Higkl mp+op ar the program should display: Between first two stars (letters:4, digits:1, other:3) I*

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!