For loop in practice
Comments (65)
- Popular
- New
- Old
You must be signed in to leave a comment
Luke
18 February, 07:19
I'll go into more detail in each individual problems discussion section but the most important thing in these examples is understanding when to use
and when to use
Once you understand when to use which of those print statements it becomes very simple to create "shapes" 0
Lars Sysadmin Expert
6 September 2023, 18:13
It's so much fun
0
Krzysztof Kosała
23 July 2023, 13:13
--- Drawing lines --
Solutions is the difference:
System.out.print();
System.out.println();
0
rags 3Expert
5 July 2023, 04:54
I love it was clueless on for but was able to figure out how they work while using them then practice yes test can sometimes be touch but who cares not like there counting right; lol love it here
0
Cr4zySl4ckr
16 March 2023, 02:07
What is in the red box is the output wanted not "The program should display numbers on the screen"
0
Hubert Matlak
14 December 2022, 21:58
Not the first task when I get to the right result, but the test is not passed :( after running the code from the solution the test is passed, although the result is just the same as mine.
+1
furius72
23 October 2022, 17:41
right 11 v 10 > !!!
8
8
8
8
8
8
8
8
8
8
8888888888
wrong!!!!!
8888888888
8
8
8
8
8
8
8
8
8
8
0
David Oh
22 July 2022, 10:16
"do not count any of the eights in the horizontal line as part of this vertical line"
>> actually 11 eights vertically
+2
what???
17 August 2022, 03:57
i put a lot space, like " 8", solved.
0
Siyanda Dlamini
12 March 2022, 17:37
Please remember to take care of yourself while coding, the finish line. Accomplishment of our own individual goals looks different for each and every single one of us. Take interval breaks, drink water. You will never stop learning new things in this profession. Remember to be patient with yourself when learning new things.
+10
Andy
30 January 2022, 17:56
Horizontal line of 8 --- and vertical lines of 8: output looks like:
8888888888 (10 times without spaces in between) plus
(10 times 8 -- vertically)
8
8
8
8
8
8
8
8
8
8
0