Question: Write an application that reads a list of strings from the user, stores them in an array of strings, and prints the ones with special
Write an application that reads a list of strings from the user, stores them in an array of strings, and prints the ones with special characters and the ones without special characters in separate lines. Your application should read strings from the user until they enter ‘#’.
Any character that is not a letter or a number should be treated as a special character. When printing the list of strings, the first character should be in uppercase and the rest of the characters should be in lower case. Your application should also count the number of strings with and without special characters and print the counts in the output.
Step by Step Solution
3.38 Rating (160 Votes )
There are 3 Steps involved in it
This problem seems pretty straightforward Lets break it down into steps 1 Read strings from user and store in an array 2 Identify strings with and wit... View full answer
Get step-by-step solutions from verified subject matter experts
