Question: Create a function named CountChar ( ) that accepts a string array as an argument, and determines total number of letters, number of digits, and

Create a function named CountChar() that accepts a string array as an argument, and determines total
number of letters, number of digits, and special characters. The function will then print the result to
the terminal screen.
For example,
Function usage: CountChar("Hell0 WorlD*@;5689");
Expected result: Letters =9, Digits =5, Specials =4

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!