-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCalculator.h
More file actions
25 lines (15 loc) · 1.13 KB
/
Calculator.h
File metadata and controls
25 lines (15 loc) · 1.13 KB
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
#ifndef GRADECALCULATOR2_0_CALCULATOR_H
#define GRADECALCULATOR2_0_CALCULATOR_H
#include <fstream>
void programs(int numProg, double prog[30], double &ptsTotal, double &ptsEarned);
void practicums(int numPract, double pract[30], double &ptsTotal, double &ptsEarned);
void groupProjects( double groupProg, double &ptsTotal, double &ptsEarned);
void exams(int numExam, double exams[2], double &ptsTotal, double &ptsEarned);
void final(int numFinal, double finals[2], double &ptsTotal, double &ptsEarned);
void print(double ptsEarnedProg, double ptsTotalProg, double ptsEarnedPract, double ptsTotalPract,
double ptsEarnedGroup, double ptsTotalGorup, double ptsEarnedExams, double ptsTotalExams,
double ptsEarnedFinals, double ptsTotalFinals, std::ofstream &output);
void printOut(double ptsEarnedProg, double ptsTotalProg, double ptsEarnedPract, double ptsTotalPract,
double ptsEarnedGorup, double ptsTotalGorup, double ptsEarnedExams, double ptsTotalExams,
double ptsEarnedFinals, double ptsTotalFinals, double &ptsTotal, double &ptsEarned, std::ofstream &output);
#endif //GRADECALCULATOR2_0_CALCULATOR_H