Choose healthy food! Choose fruit!

  • 1
  • Locked
Display the variables whose values are names of fruit. Display each variable on a new line.
You can't complete this task, because you're not signed in.
Comments (19)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Laura
Level 7 , Lübeck, Deutschland
21 July 2020, 20:47
Goot itt
Angyal Balázs Alpár
Level 4 , Maroslele, Hungary
17 May 2019, 12:15
So this is not good: Sуstеm.оut.рrіnt(аррlе+"\n"+реасh); because I have used only print, not println? But my code is better than using println. I dont want to explain, but this is not a good examination in this way... First negative in the training, but it is a big one..
Roman
Level 41
23 May 2019, 13:39
Fixed.
Braydon
Level 1 , Idaho Falls, United States
4 June 2019, 06:03
Slightly off the topic of this lesson, but... In an environment with many workers how could one justify using "\n" over writing out the individual prints. For example, sake of easiness to read (Line by line using `println`) vs. Simplicity (using "\n"). I just don't see the point in doing it that way unless it's ready to be used in a public environment. For group development environments it makes sense(in my opinion) for easier editing to write each `Println` function out individually.
Guilherme Otávio Sprovieri
Level 4 , Sao Paulo, Brazil
2 April 2019, 01:36
Just print the fruits. Wich is simple put only the variables.
Fatima Ibrahim Madori
Level 1 , Kano, Nigeria
11 November 2018, 23:26
I need help please
Roman
Level 41
12 November 2018, 07:00
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.
25 October 2018, 20:35
I didn't delete the comment I went to the actual poem page copy and pasted the fourth line into a System.out.println and then I'm done
25 October 2018, 20:33
Yay I did it
25 October 2018, 20:33
So easy
Avinash chikhale
Level 2 , Pune, India
22 September 2018, 17:13
add the forth line of this poem from google its work
Arindam Dey
Level 3 , Kolkata, India
1 September 2018, 16:01
quite interesting!!!!
shubham ojha
Level 3 , Delhi, India
24 August 2018, 04:48
it's a poem, poem name is "the road taken" so google "the road not taken" poem and get the fourth line of the first stanza and print