Laziness afflicts even the best programmers. And not only programmers. Nevertheless, people have managed to become professionals by teaching themselves. So, we suggest not being lazy. Instead, display this slogan on the screen: "If you feel like it, do the task. If you don't feel like it, do it anyway". And to really remember this, display it 16 times.
Don't feel like it? Do it anyway.
- 1
Locked
Comments (16)
- Popular
- New
- Old
You must be signed in to leave a comment
Jeff Kenney
27 November 2021, 20:26
Oh the irony of typing out the code nearly 100% correct the first time only to find out that I arbitrarily added some unnecessary parenthesis to the String declaration 😂
I Wrote "String DewIt = ("If you feel like...")
Instead of;
"String DewIt = "If you feel like..."
0
Lisa Marie
24 March 2021, 21:25
I love that I completely read the 16 times print wrong so I had to do it 8 times haha. Then I noticed what it actually wanted me to do. Oh the joy of being a developer!
0
Miha Čelešnik
19 September 2019, 10:15
Loop works fine.
0
MaGaby2280
5 September 2019, 01:10
Shouldn´t this be done with a loop, so the code is cleaner?
I did it with a loop but it did no take my solution as valid, even if it was displaying the right solution.
+1
OroNTiuS
8 March 2020, 05:57
students dont know about loops yet and is just a simple task to break the laziness , it just pushes you to do something. of course loops are easier and cleaner for such tasks!
+2
Sarah Beth Benes
6 June 2020, 23:42
I used a loop, and it worked fine. Perhaps your loop was faulty?
+2
Sean Nigito
13 July 2020, 23:19
I also used a loop and had no issues
+1
vish
8 July 2019, 16:53
@Roman. thank you.
+1
vish
7 July 2019, 08:40
• The text should consist of 16 lines.
• The displayed text must match the task conditions. I'm getting these to errors. Can you please help?
0
Roman
8 July 2019, 05:43
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
0
krishnaprasanna doddapaneni
31 January 2019, 09:43
what is meant by typo .
+1
Elyse Segebart
19 December 2019, 15:45
It means there is not supposed to be a period. Double check that your text within the quotation marks matches exactly what they are asking.
0
Ariusca
12 October 2018, 17:21
Can someone please let me know why after I write the 16 lines it still asks for input data (system.in)?
+1
Roman
16 October 2018, 05:38
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
0
Pratik Jain
12 August 2018, 05:46
what is the task here
0
Pavlo Plynko Java Developer at CodeGym
13 August 2018, 05:57
Print the specified text on the screen 16 times.
0