thanks man, I got it, I always used to find formatting a bitch heh.
Thanks
Type: Posts; User: melki0795
thanks man, I got it, I always used to find formatting a bitch heh.
Thanks
and would this work, if t[i] are Strings of different lengths? What is happening, is that my output is shifting here and there.
2750
This is the Format string i used: String formatString = "...
I did, but when I use them, all i get is the t[i] written in a line :/
for(int i = 0; i < 5; i++) {
System.out.printf(title[i],"%20s", name[i], "%20s",subAmounts[i]);
}
Just outputs all messed up o.O
Hi,
Any way i can format this output into columns?
for(int i = 0; i < 5; i++) {
System.out.println(t[i]+n[i]+s[i]);
}