-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeader.h
More file actions
31 lines (26 loc) · 721 Bytes
/
Copy pathHeader.h
File metadata and controls
31 lines (26 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;
//Global integer constants
const int NUM_TESTS = 5;
//Enumeration constant with values for menu choices
enum MenuChoice {Add = 1, Remove, Display, Search, Results, Quit};
//Structure for Student with the following members
struct Student {
string lastName;
string firstName;
int studentID;
int numTestsTaken;
int* testScores;
double averageScore;
};
//Function Prototypes
void add_Student();
void remove_Student(int studentID);
void display();
void search(int studentID);
void exportResults();
int findMinimum(int* scores, int size);
int getNumber(); //This function is defined in getNumber.cpp