diff options
Diffstat (limited to 'CST116F2021-Lab8/Header.h')
| -rw-r--r-- | CST116F2021-Lab8/Header.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CST116F2021-Lab8/Header.h b/CST116F2021-Lab8/Header.h new file mode 100644 index 0000000..eb54d03 --- /dev/null +++ b/CST116F2021-Lab8/Header.h @@ -0,0 +1,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(); |