please help in C++
(Count LUCKY and other) Assume letters L, U, C, K, and Y as the fortunate letters. (1) Write the pseudo-code or draw a flowchart and (2) Write 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
please help in C++
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am