diff options
| author | JordanHT-OIT <[email protected]> | 2021-11-01 04:54:36 -0700 |
|---|---|---|
| committer | JordanHT-OIT <[email protected]> | 2021-11-01 04:54:36 -0700 |
| commit | 49cfdd1697eb05f62b4ce7409bc24e4949c957ca (patch) | |
| tree | dc91b9a44ddbf6841189fc6fe00d7a81114910dc /CST116F2021-Lab5/Main_header.h | |
| parent | Add online IDE url (diff) | |
| download | cst116-lab5-jordanht-oit-master.tar.xz cst116-lab5-jordanht-oit-master.zip | |
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 |