Question: Assume letters L , U , C , K , and Y as the fortunate letters. ( 1 ) Write the pseudo - code or

Assume letters L, U, C, K, and Y as the fortunate letters.
(1) Write the pseudo-code or draw a flowchart and (2) Write a C++ program, that prompts the user to enter a string and displays the number of fortunate letters and total non-fortunate letters in the string. Your code should convert the lowercase letters to uppercase. Your code should ignore spaces and characters other than letters.
Sample Run
Enter a string: "I AM lucky 'OR NOT' LUCKY IS TO LIABLE TO BE (1) true, or (2) FALSE."
The number of fortunate letters is 14
The number of non-fortunate letters is 29
The number of other letters is 25

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!