diff options
Diffstat (limited to 'CST116F2021-Lab5/Main_header.h')
| -rw-r--r-- | CST116F2021-Lab5/Main_header.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/CST116F2021-Lab5/Main_header.h b/CST116F2021-Lab5/Main_header.h new file mode 100644 index 0000000..b5fbf4e --- /dev/null +++ b/CST116F2021-Lab5/Main_header.h @@ -0,0 +1,28 @@ +//This is the main header file for the project. Code by Jordan Harris-Toovy, November 2021 + +#pragma once + +#include <iostream> +#include <iomanip> +using namespace std; + +//10.5 LBD-Ex #1 & 10.6 LBD-Ex #1 +const int NUM_SCORES = 10; +const int NUM_GRADES = 5; + +//10.6 LBD-Ex #1 +void get_scores(float[]); +void grade_scores(float[], char[]); +void total_grades(char[], int[]); +float average_scores(float[]); +void display_info(float&, int[], char[], float[]); + +//10.7 LBD-Ex #2 +const int NAMELENGTHMAX = 20; + +void getName(char[], int); +int getStringSize(char[]); + +//10.8 Ex #7 +void get_string(char[], int); +bool string_compair_N(char[], char[], int);
\ No newline at end of file |