aboutsummaryrefslogtreecommitdiff
path: root/mod_9b/scores.h
diff options
context:
space:
mode:
Diffstat (limited to 'mod_9b/scores.h')
-rw-r--r--mod_9b/scores.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod_9b/scores.h b/mod_9b/scores.h
new file mode 100644
index 0000000..0f5e872
--- /dev/null
+++ b/mod_9b/scores.h
@@ -0,0 +1,18 @@
+//
+// Created by Till on 27-Oct-21.
+//
+
+#include <iostream>
+using namespace std;
+
+const int NUM_STUDENTS = 10;
+
+void ReadScores(float[]); //input scores from keyboard
+void LetterGrade(char[], float[]); //change score to letter grade and store in alt list
+float calcAverage(float[]); //calculate average score for students
+void printInfo(float[], char[], float avg); //display all info
+
+
+
+
+