Java Program Basic Activities: Displaying a Message

Program that displays that ff. output:


==================================================
Code :
=================================================


public class Test4_Pereda {

public static void main(String [] args) {

System.out.println("Subject Code: CC102");
System.out.println("Subject Title: Programming Language 1 (Java)");
System.out.println("Name: Sonny Pereda");
System.out.println("Birthdate: July 13, 1991");
System.out.println("Age: 27");
System.out.println("Course/Yr. & Section: BSCS1A");
System.out.println("Address: Dayao, Roxas City");
System.out.println("Subject Instructor: Clinton U. Reducto");
System.out.println("Merry Christmas");

System.out.println("********   *************");
System.out.println("*          *           *");
System.out.println("*          *           *");
System.out.println("*          *           *");
System.out.println("*********  *************");
System.out.println("        *  *");
System.out.println("        *  *");
System.out.println("        *  *");
System.out.println("*********  *");
}

}



=====================================================================


























Walang komento:

Mag-post ng isang Komento