//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CODE FOR PROBLEM #1 (LEARN BY DOING) ON PAGE 253 IS BELOW //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //#include //#include // //using namespace std; // // //void Display(float[], char[], float, float, int, int, int, int, int, int); //displays list of scores with letter grades and class analysis // //void GetInput(float[], int); //puts scores into array // //void ScoreToGrade(float[], char[], int); //translates scores to grades and puts into another array // //void ScoreAvg(float[], int, float&, float&); //finds sum and average of scores // //void Frequency(char[], int, int&, int&, int&, int&, int&); //counts frequency of different letter grades //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CODE FOR PROBLEM #2 (LEARN BY DOING) ON PAGE 260 IS BELOW //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //#include //#include // //using namespace std; // ////prompts for first and last name and puts them into arrays //void getInput(char[], char[]); // ////combines first and last names into another array //void nameCombine(char[], char[], char[]); // ////displays full name from array //void display(char[]); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // CODE FOR PROBLEM #7 (EXERCISES) ON PAGE 273 IS BELOW //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //#include //#include // //using namespace std; // ////compares the first 6 characters of the two strings //void compareStrings(char[], char[], int&);