Question: #include #include #include #include #include using namespace std; #include #include string sort ( string str ) ; / / reaaranging the orders of string to
#include #include #include #include #include using namespace std; #include #include string sortstring str;reaaranging the orders of string to test if its anagram bool areAnagramsstring strstring str;process the strgin if anagram anf returns the value or string RemSpacePunctstring str;function that removes space and punctation in aa string void palindromechar sal;testing whether the cstring value is palindrome or not void password;asking the user to enter the password char menu;displaying choices ab and c then returns the answer void quit;asking the user if heshe wants to quit string EnterPassword;processing if the password is correct and diplaying it with sign int main char let,ans; add code here switchansadd code here do return ; end main coutDo you want to try again ynlet; lettolowerlet; whileletn&&let!y; add code here systempause; void quitadd code here string EnterPasswordadd code here return password; char menuadd code here return choice; void passwordadd code here string sortstring stradd code here bool areAnagramsstring strstring stradd code here string RemSpacePunctstring stradd code here void palindromechar saladd code here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
