aboutsummaryrefslogtreecommitdiff
path: root/mod_9b/main.cpp
diff options
context:
space:
mode:
authortill-t <[email protected]>2021-11-02 14:47:09 -0700
committertill-t <[email protected]>2021-11-02 14:47:09 -0700
commitc169e4210da63f8c8d37235fc8fdf56b44b6f278 (patch)
tree99787a3bd7f4bd3a2765bb75c7e04599c5024c7f /mod_9b/main.cpp
parentUpdate (diff)
downloadarchived-cst116-lab5-till-t-c169e4210da63f8c8d37235fc8fdf56b44b6f278.tar.xz
archived-cst116-lab5-till-t-c169e4210da63f8c8d37235fc8fdf56b44b6f278.zip
Putting seperate modules in sep folders.
Diffstat (limited to 'mod_9b/main.cpp')
-rw-r--r--mod_9b/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod_9b/main.cpp b/mod_9b/main.cpp
new file mode 100644
index 0000000..3c1bb70
--- /dev/null
+++ b/mod_9b/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;
+}