aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authortill-t <[email protected]>2021-11-02 13:15:03 -0700
committerGitHub <[email protected]>2021-11-02 13:15:03 -0700
commit309cae51841c5057e08dcf836a30c7033186fbda (patch)
tree13d188e4e88034df2fd9e353ef6d6b5ba67d20d9 /main.cpp
parentThird Test for vim. (diff)
downloadarchived-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.cpp16
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