Question: Problem 3: Create a Java program that performs following tasks. Ask users to enter two strings Users should enter the string with special characters and

Problem 3:

Create a Java program that performs following tasks.

Ask users to enter two strings

Users should enter the string with special characters and digits

Display the count of character, special characters, and digits in a string

For example,

If the user enters sang1993%%%, then the output should be

Number of characters: 4

Number of digits: 4

Number of special characters: 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!