Question: 1) Count the number of alphanumeric characters and non-alphanumeric characters from the standard input (cin). Spaces ( ') should not be counted toward either type

1) Count the number of alphanumeric characters and non-alphanumeric characters from the standard input (cin). Spaces (" ') should not be counted toward either type of character. Example: o "Hello, World!" has 10 alphanumeric characters and 2 non- alphanumeric characters o "Santa Clara University" has 20 alphanumeric characters and 0 non-alphanumeric characters
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
