Java program that prints a face
Posted by Samath
Last Updated: January 08, 2021

Write a Java program that prints a face.

public class Main
{
	public static void main(String[] args) {
	    
        System.out.println(" +'''''''+ ");
        System.out.println("(| o  o  |)");
        System.out.println(" |   ^   | ");
        System.out.println(" |  '_'  | ");
        System.out.println(" |       | ");
        System.out.println(" +-------+ ");
	}
}
Related Content