Java program that prints an animal speaking a greeting
Posted by Samath
Last Updated: January 08, 2021

Write a Java program that prints an animal speaking a greeting.

public class Main
{
	public static void main(String[] args) {
	    
        System.out.println(" /\\_/\\     -----  ");
        System.out.println("( ' ' )  /       \\ ");
        System.out.println("(  -  ) <  Hola  | ");
        System.out.println(" | | |   \\       / ");
        System.out.println("(__|__)    -----    ");
        
	}
}
Related Content