For some reason whenever i print out the code below "System.out.println("Heat 1:"); never prints but rather somehow just leaves the terminal window. because when i use print instead of println it shows but not when i use println
System.out.println("Heat 1:");
System.out.println(heat1[0][0] +"\n"+ heat1[1][0] +"\n"+ heat1[2][0] +"\n"+ heat1[3][0] +"\n"+ heat1[4][0]+"\n");
System.out.println("Heat 2:");
System.out.println(heat2[0][0] +"\n"+ heat2[1][0] +"\n"+ heat2[2][0] +"\n"+ heat2[3][0] +"\n"+ heat2[4][0]+"\n");
System.out.println("Heat 3:");
System.out.println(heat3[0][0] +"\n"+ heat3[1][0] +"\n"+ heat3[2][0] +"\n"+ heat3[3][0] +"\n"+ heat3[4][0]+"\n");
System.out.println("Heat 4:");
System.out.println(heat4[0][0] +"\n"+ heat4[1][0] +"\n"+ heat4[2][0] +"\n"+ heat4[3][0] +"\n"+ heat4[4][0]+"\n");
System.out.println("Heat 5:");
System.out.println(heat5[0][0] +"\n"+ heat5[1][0] +"\n"+ heat5[2][0] +"\n"+ heat5[3][0] +"\n"+ heat5[4][0]+"\n");
System.out.println("Heat 6:");
System.out.println(heat6[0][0] +"\n"+ heat6[1][0] +"\n"+ heat6[2][0] +"\n"+ heat6[3][0] +"\n"+ heat6[4][0]+"\n");
System.out.println("Heat 7:");
System.out.println(heat7[0][0] +"\n"+ heat7[1][0] +"\n"+ heat7[2][0] +"\n"+ heat7[3][0] +"\n"+ heat7[4][0]);
Result:
w/ println
<---------- No "Heat 1:"
1. Gray Stallion
2. Zinc Donkey
3. Yellow Stallion
4. Green Stallion
5. Old Stallion
Heat 2:
1. Purple Donkey
2. Wood Stallion
3. Gray Donkey
4. Marigold Stallion
5. Young Donkey
--------------------------------
w/ print
Heat 1:1. Gray Stallion
2. Zinc Donkey
3. Yellow Stallion
4. Green Stallion
5. Old Stallion
Heat 2:
1. Purple Donkey
2. Wood Stallion
3. Gray Donkey
4. Marigold Stallion
5. Young Donkey