COSC 111
Programming Assignment #1


Part a)
Write a complete Java program that will output your full name, student ID number, and address on seperate lines. For example:

       Harry Jones
       ID 45903
       234 Main Street

Your program should make use of the command System.out.println() . You should call your class Name1 and it should be stored in the file Name1.java.


Part b)
Repear part a) but instead use the command System.out.print(). You should call your class Name2 and it should be stored in the file Name2.java.


IMPORTANT!

All programs you submit in this class should have the following header as a comment:


        /*
                     Your Name
                     Your Student ID
                     COSC 111
                     Assignment # X
        */


For example, if I were to hand in the first assignment, I would have the following heading:

        /*      Bill Sverdlik
                 ID: 49103
                 COSC 111
                 Assignment 1A
        */

In addition , all programs should have a program description following the heading:

        /* Description: This program will print out my name , student ID , and address on three seperate lines.
            It will use the Java command System.out.println()
        */



Thus (just to give you some help) , your first program will look something like the following:


        /*      Bill Sverdlik
                  ID: 49103
                  COSC 111
                  Assignment 1A


            Description: This program will print out my name, student ID, and address on three seperate
            lines. It will use the Java command System.out.println()
        */


        public class Name1
        {



                ......put your code here, folks.......




        }


What to hand in:
The paper listing for your programs. Make sure all info described above is included.