pre1 - // // Purpose: Print an enthusiastic message about...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Solutions to Prelab Exercises Chapter 1 Your task is to write a Java program that will print out the following message (including the row of equal marks): Computer Science, Yes!!!! ========================= An outline of the program is below. Complete it as follows: a. In the documentation at the top, fill in the name of the file the program would be saved in and a brief description of what it does. b. Add the code for the main method to do the printing. // ******************************************************************* // File Name: CSYes.java
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // // Purpose: Print an enthusiastic message about computer science. // ******************************************************************* public class CSYes { // -------------------------------------------------// The following main method prints an exciting // message about computer science // -------------------------------------------------public static void main(String args) { System.out.println(); System.out.println(" Computer Science, Yes!!!!"); System.out.println(" ========================="); System.out.println(); } }...
View Full Document

Ask a homework question - tutors are online