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 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
Get step-by-step solutions from verified subject matter experts
