Mapúa Institute of Technology
CS 127
/* * Name: Perez, Mon Andre V. * Date: 01/03/2022 * Terminal No: 00 * Program: BSIT * Course / Section: CS1278-L/FOPIO1 */ #include #include #include #include #include using namespace std; #include #include string sort(string str);//reaaranging the orders of string to test if its anagram bool areAnagrams(string str1,string str2);//process
...[Show More]
/* * Name: Perez, Mon Andre V. * Date: 01/03/2022 * Terminal No: 00 * Program: BSIT * Course / Section: CS1278-L/FOPIO1 */ #include #include #include #include #include using namespace std; #include #include string sort(string str);//reaaranging the orders of string to test if its anagram bool areAnagrams(string str1,string str2);//process the string if anagram anf returns the value 1 or 0 string RemSpacePunct(string str);//function that removes space and punctation in a string //////////////////////////////// void palindrome(char sal[120]);//testing whether the c-string value is palindrome or not void password();//asking the user to enter the password char menu();//displaying choices a,b, and c then returns the answer void quit();//asking the user if he/she wants to quit string EnterPassword();//processing if the password is correct and diplaying it with "*" sign int main() { char let,ans; system("cls"); password(); do{ system("cls"); ans=menu();
[Show Less]