diff options
| author | till-t <[email protected]> | 2021-11-02 13:15:03 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-02 13:15:03 -0700 |
| commit | 309cae51841c5057e08dcf836a30c7033186fbda (patch) | |
| tree | 13d188e4e88034df2fd9e353ef6d6b5ba67d20d9 /main.cpp | |
| parent | Third Test for vim. (diff) | |
| download | archived-cst116-lab5-till-t-309cae51841c5057e08dcf836a30c7033186fbda.tar.xz archived-cst116-lab5-till-t-309cae51841c5057e08dcf836a30c7033186fbda.zip | |
Add files via upload
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..40fafc5 --- /dev/null +++ b/main.cpp @@ -0,0 +1,16 @@ +// Tyler Taormina +#include "scores.h" + + +int main() +{ + float currStudent[NUM_STUDENTS]{0.0}; + char LetterGrades[NUM_STUDENTS]; + float average_score = 0.0; + + ReadScores(currStudent); + LetterGrade(LetterGrades, currStudent); + average_score = calcAverage(currStudent); + printInfo(currStudent, LetterGrades, average_score); + return 0; +}
\ No newline at end of file |