aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab5/Header.h
diff options
context:
space:
mode:
Diffstat (limited to 'CST116F2021-Lab5/Header.h')
-rw-r--r--CST116F2021-Lab5/Header.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/CST116F2021-Lab5/Header.h b/CST116F2021-Lab5/Header.h
new file mode 100644
index 0000000..7009bf8
--- /dev/null
+++ b/CST116F2021-Lab5/Header.h
@@ -0,0 +1,53 @@
+//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// CODE FOR PROBLEM #1 (LEARN BY DOING) ON PAGE 253 IS BELOW
+//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+//#include <iostream>
+//#include <iomanip>
+//
+//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 <iostream>
+//#include <iomanip>
+//
+//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 <iostream>
+//#include<iomanip>
+//
+//using namespace std;
+//
+////compares the first 6 characters of the two strings
+//void compareStrings(char[], char[], int&);