//============================================================= // CODE FOR PROBLEM #1 ON PAGE 282 (LEARN BY DOING) IS BELOW //============================================================= //#include //#include //#include // //using namespace std; // //void readData(string[][31], string[][31], int[], float[]); //Takes in user entered data and writes to arrays // //void displayData(string[][31], string[][31], int[], float[]); // Displays the data from the arrays in an orderly fashion //==================================================================== // CODE FOR PROBLEM #1 ON PAGE 292 (PROGRAMMING EXERCISES) IS BELOW //==================================================================== //#include //#include //#include //#include //#include // //using namespace std; // //void displayMenu(int&); //Displays menu choices and takes in user choice // //void processMenuChoice(int); //Process menu choice, calls relevant function // //void isPalindrome(); //Checks whether or not a user input string is a palindrome and displays result // //void isAlphaStr(); //Checks to see if a user input string contains all alphabetic characters or not, displays result // //void countChar(); //Takes in a user input string and a character, counts the frequency of that character within the string, displays result