Lvl1 Lesson 8 "Choose healthy food! Choose fruit!" -> solution // System.out.print(apple+"\n"+ peach); // is not valid, server only sees one string, even if the result is correct and displayed on two lines.
package com.codegym.task.task01.task0135;
/*
Choose healthy food! Choose fruit!
*/
public class Solution {
public static void main(String[] args) {
String apple = "Apple";
String porridge = "Porridge";
String sausage = "Sausage";
String peach = "Peach";
System.out.print(apple+"\n"+ peach);
//write your code here
}
}