Hi All,
Noob here.
How do i change the outcome to below? at the moment it is all 0? Please if you can add a brief explanation so i can clear some clouds in this area. thanks in advance.
Competitor 1: 1 1 1 1 1
===============================================
Competitor 2: 2 2 2 2 2
===============================================
Competitor 3: 3 3 3 3 3
===============================================
Competitor 4: 4 4 4 4 4
===============================================
Competitor 5: 5 5 5 5 5
===============================================
here's the code:
case 2: System.out.println("Menu item 2");
for(int i=1; i<MAX_COMPS;i++){
System.out.print("Competitor " + i + ": ");
for (int j=1;j<MAX_SCORES;j++)
System.out.print(scores[i][j] + " ");
System.out.println("");
}