My issue
what is error here
My code
class Codechef
{
public static void main (String[] args)
{
System.out.print((3+4) + "\n" +(2+1));
}
Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone
what is error here
class Codechef
{
public static void main (String[] args)
{
System.out.print((3+4) + "\n" +(2+1));
}
Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone
@karthikeyen78
There must be space after the + sign like this " + (2+1) "
Don’t write it together
System.out.print((3 + 4) + “\n” + (2 + 1));