Commit 781fe36e authored by Michael's avatar Michael

just commit

parent e3b4e343
......@@ -5,15 +5,15 @@
void
Analysis::processExamResults()
{
int passes =0;
int failures =0;
int studentCounter =1;
int result;
int passes = 0;
int failures = 0;
int studentCounter = 1;
while (true) {
if (::isatty(STDIN_FILENO)) {
std::cout << "Enter result (1 = pass, 2 = fail): ";
}
int result;
std::cin >> result;
if (1 == result) {
++passes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment