Hello, My homework assignment is to output the first 5 even numbers on 3 lines, similar to below:
2 4 6 8 10
2 4 6 8 10
2 4 6 8 10
I can print something on 3 lines and I can print 5 even numbers but I do not know how to combine them. This is what I have so far. Any help would be much appreciated.
So that would help me print 3 lines of text. But where you wrote "something," I think I am supposed to have the loop I wrote above. Thus the "loop in a loop" idea.