Yes, I got it now. Thank you for your help! Happy New Year :D
Type: Posts; User: maple1100
Yes, I got it now. Thank you for your help! Happy New Year :D
Something like this?
System.out.print(" ");
for(String monthOf : month)
{
System.out.printf("%6s",monthOf);
}
**********S(Jan)***S(Feb)***S(Mar)***S(Apr)***S(May)
^ Like that until Dec but disregard the ()
The picture should give a clearer explaination.
Is it possible to print out the months like the picture below with that little space infront of January with printf? If I put "%10s" it will also make the months space far apart, I want before...