package com.codegym.task.task01.task0135;
/*
Two roads diverged in a yellow wood
*/
public class Solution {
public static void main(String[] args) {
String apple = "Apple";
// 0String porridge = "Porridge";
// String sausage = "Sausage";
String peach = "Peach";
System.out.printIn(apple);
System.out.printIn(peach)
}
}
I don;t realize where's the problem.
Archived
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
RISHIKESH PATEL
13 February 2019, 18:13
public class Solution {
public static void main(String[] args) {
String apple = "Apple";
String porridge = "Porridge";
String sausage = "Sausage";
String peach = "Peach";
System.out.println(apple );
System.out.println(peach );
}
}
0
Guadalupe Gagnon
12 February 2019, 19:30solution
The task requirements say that you are not supposed to change the lines that declare variables, but you commented two of them out. You are also missing a semicolon after your second println.
When you ask for help from now on, do not copy and paste code. Just attach it. It is considerably easier to read and has a lot more information to guide people who are willing to help:
.
+2
Simona Da Boom
13 February 2019, 16:46
Thank you!
0