Page 1 of 1

please help in C++

Posted: Mon Jun 06, 2022 5:41 pm
by answerhappygod
please help in C++
Please Help In C 1
Please Help In C 1 (181.94 KiB) Viewed 25 times
(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