Choose healthy food! Choose fruit!

  • 1
  • unavailable
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(18)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Angyal Balázs AlpárLevel 4 , Maroslele
17 May, 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..
RomanLevel 41
23 May, 13:39
Fixed.
BraydonLevel 1 , Idaho Falls
4 June, 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 SprovieriLevel 4 , Sao Paulo
2 April, 01:36
Just print the fruits. Wich is simple put only the variables.
Fatima Ibrahim MadoriLevel 1 , Kano
11 November 2018, 23:26
I need help please
RomanLevel 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.
Raffi PicacheLevel 3 , New York City
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
Raffi PicacheLevel 3 , New York City
25 October 2018, 20:33
Yay I did it
Raffi PicacheLevel 3 , New York City
25 October 2018, 20:33
So easy
Avinash chikhaleLevel 2 , Pune
22 September 2018, 17:13
add the forth line of this poem from google its work
Arindam DeyLevel 3 , Kolkata
1 September 2018, 16:01
quite interesting!!!!
shubham ojhaLevel 3 , Delhi
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
shubham ojhaLevel 3 , Delhi
21 August 2018, 20:28
System.out.println("Robert Frost's \"The Road Not Taken\""); what is worng
RomanLevel 41
22 August 2018, 05:08
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.
Raffi PicacheLevel 3 , New York City
25 October 2018, 20:37
Actually copy and paste the fourth line of the actual poem and put it into a System.out.println and you're done
PAVANILevel 2 , Tadepallegudem
1 November 2018, 02:08
in this code you have to give fullstop to end of the 4th line Sop("Robert Frost's \"The Road Not Taken\""+"."); try likethis..