• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java Developers...whats wrong with my code?

So you're trying to get it to print 3(or 6) spaces before the first number appears? You didn't close the first for loop before the numbers started. Also shouldn't it be print instead of println?

 
The two for loops are nested....the spacing didnt come out right when I typed it....I'll take a screen shot in a min.
 
Code updated.

I took out the first println and made it just print. However it still doesnt line up correctly (3 corresponds to Wed or the 4th column).
 
Back
Top