Fix tests

This commit is contained in:
Andreas Zwinkau 2015-01-16 22:19:15 +01:00
parent 91983ebfea
commit 207dbe638f
2 changed files with 2 additions and 2 deletions

View File

@ -10,5 +10,5 @@ void main()
++lines;
sumLength += line.length;
}
writeln("Average line length: ", lines ? sumLength / lines:0);
writeln("Average line length: ", lines ? sumLength / lines : 0);
}

View File

@ -30,6 +30,6 @@ void main()
writeln(" Well guessed.");
break;
}
writeln(answer < target ? " Too low.":" Too high.");
writeln(answer < target ? " Too low." : " Too high.");
}
}