aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab8/Header.h
blob: eb54d03e7ccd282a6d8f76a355ee95e87921920f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include <iostream>
#include <iomanip>
#include <fstream>
#include <cstring>
#include <string>

using namespace std;

//13b
void getInput(int valuesList[], int& VALUE);
void calculateLength(int valuesList[], int& VALUE, int& valuesTotal);
void lowestToHighest(int valuesList[], int& VALUE, int& valuesTotal, int reorderList[], int& reorderTotal);
void calculateMedian(int valuesList[], int& VALUE, int& valuesTotal);

//13c
int checkFile();
void createFile();
void formatData();