diff options
| author | WiserJ <[email protected]> | 2021-11-02 15:07:38 -0700 |
|---|---|---|
| committer | WiserJ <[email protected]> | 2021-11-02 15:07:38 -0700 |
| commit | 9d0b656974bc16dbedcffb09c2d447fa0a2cd457 (patch) | |
| tree | f1702d479820f25787b69d07625cbd9079fec0db /CST116F2021-Lab5/Header1.h | |
| parent | 3 file solution (diff) | |
| download | cst116-lab5-jeffwoit-9d0b656974bc16dbedcffb09c2d447fa0a2cd457.tar.xz cst116-lab5-jeffwoit-9d0b656974bc16dbedcffb09c2d447fa0a2cd457.zip | |
260
Diffstat (limited to 'CST116F2021-Lab5/Header1.h')
| -rw-r--r-- | CST116F2021-Lab5/Header1.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/CST116F2021-Lab5/Header1.h b/CST116F2021-Lab5/Header1.h index 693d4af..403d914 100644 --- a/CST116F2021-Lab5/Header1.h +++ b/CST116F2021-Lab5/Header1.h @@ -2,12 +2,22 @@ using namespace std; -void GetScores(float[]); -void CheckGrade(float[], char[]); -float calcAvg(float[], float avg); -void CountScores(char[], int[]); - -const int NUM_SCORES = 10; -const int NUM_STUD = 5; -const int NUM_GRADE = 5; +void GetFirst(char[]); +void GetLast(char[]); +void DispName(char[], char[], char[]); + +const int FIRST_NAME = 15; +const int LAST_NAME = 15; +const int FULL_NAME = 2+FIRST_NAME + LAST_NAME; + + +//p.253 +//void GetScores(float[]); +//void CheckGrade(float[], char[]); +//float calcAvg(float[], float avg); +//void CountScores(char[], int[]); +// +//const int NUM_SCORES = 10; +//const int NUM_STUD = 5; +//const int NUM_GRADE = 5; #pragma once |