I'm having trouble printing 2D arrays in an aesthetically pleasing manner. When I use the code below, the first row doesn't line up properly with the rest of the rows. Am I using the setw command incorrectly or something? Thanks!
That's all of the code that I have in main, but the first row isn't aligned properly. On my screen the first two ends about 8 spaces too early, scrunching everything up. I haven't had this trouble before, so I don't understand why it's doing that.