After I compile this, I get the error - C:\JavaPrograms\Face.java:8: illegal escape character
System.out.println(" | \- |"
^
public class Face
{
public static void main(String[] args)
{
System.out.println("//////"
System.out.println("| o o |"
System.out.println("(| ^ |)"
System.out.println(" | \-/ |"
System.out.println(" _____ "
}
}
How do I fix this.
Thanks,
Nick
System.out.println(" | \- |"
^
public class Face
{
public static void main(String[] args)
{
System.out.println("//////"
System.out.println("| o o |"
System.out.println("(| ^ |)"
System.out.println(" | \-/ |"
System.out.println(" _____ "
}
}
How do I fix this.
Thanks,
Nick