System.out.printf("%-10s \t %8d\n",name[i],stationA[i],getStationScore(stationA[i]),stationB[i],getStationScore(stationB[i]),stationC[i],getStationScore(stationC[i]),award[i]);
hi all, i'm finishing up on this assignment of mine and can't figure out how to format my output correctly.
the correct format should be
Name Station Station
Test A B A b
but so far i only been able to manage to get
Name Station Station
Test A
the rest of the words goes missing. would really appreciate if someone can just point out what's wrong. thanks in advance.