17

Dude in my Computer Architecture class was doing his homework from another class (Java, which is weird because that class is a prerequisite for this one) was struggling with a two-line code program, and the website was telling him that his output wasn't the expected. I notice that the website expected a vertical list, but he was printing an horizontal one. Basically, he was using println instead of print. I was about to pointed that out until he changed to another tab and I realize that he just copied and pasted the code from SO. He deleted the two-line code (which was enough to perform the task) and pasted a big +30 lines of code that basically printed the same output because he was still using println...

Comments
  • 3
    Correct me if I'm wrong, but println prints vertically. Print is the one which prints horizontally.

    #printception
  • 3
    @tiago17 shit, you're right, I wrote that backwards.
    Edit: The program wanted the list horizontal, he was printing it vertical.

    #Sorry
Add Comment