aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab5/Main_header.h
blob: b5fbf4e9dde9003d2f3888d712657cbeb3ab1543 (plain) (blame)
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
//This is the main header file for the project. Code by Jordan Harris-Toovy, November 2021

#pragma once

#include <iostream>
#include <iomanip>
using namespace std;

//10.5 LBD-Ex #1 & 10.6 LBD-Ex #1
const int NUM_SCORES = 10;
const int NUM_GRADES = 5;

//10.6 LBD-Ex #1
void get_scores(float[]);
void grade_scores(float[], char[]);
void total_grades(char[], int[]);
float average_scores(float[]);
void display_info(float&, int[], char[], float[]);

//10.7 LBD-Ex #2
const int NAMELENGTHMAX = 20;

void getName(char[], int);
int getStringSize(char[]);

//10.8 Ex #7
void get_string(char[], int);
bool string_compair_N(char[], char[], int);