Skip to content
Snippets Groups Projects
Commit cd3d6a51 authored by Goik Martin's avatar Goik Martin
Browse files

Off-by-one: Mark range too low by 1

parent e88eaa10
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ public class SimpleExample {
System.out.println("----+---------");
for (int i = 0; i < markFrequencies.frequencyByMark.length ; i++) {
System.out.println(" " + (markFrequencies.lowestMark + i - 1) + "|" +
System.out.println(" " + (markFrequencies.lowestMark + i) + "|" +
markFrequencies.frequencyByMark[i]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment