aboutsummaryrefslogtreecommitdiff
path: root/mod_9b/main.cpp
diff options
context:
space:
mode:
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;
+}