for (int k = 0; k < 7; k++){
System.out.println("Vak/project:\t" + vakNamen[x] + "\t\t"
+ "Cijfer: " + vakCijfers[x] + "\t" + "Behaalde punten: "
+ vakPunten[x]);
x++;
}
EDIT: the assignment wants to use system.out.printf so I will have a look at that, ty for the hint
and the system.out.format seems interesting I never heard of that, will look into it
Ok so my question is in this for loop I print 3 different arrays and I want them to be in a table so I used \t, but the problem u get with this is that if the "vakNamen" which is the name of the subject is LONGER than another then the tabs will go further and create this ugly table:
https://gyazo.com/398953f233f3562eecfa6c483ec73e62
I dont really know how to ask this question but I think I should ask how to make sure \t is independant from the previous lines?