Pattern (Due 15 Jun 2014)

You will write a program that will print the following pattern exactly as given below. The pattern will be preceded by one empty line on the top and there will also be one empty line at the bottom. The left most star in the pattern will start 5 spaces from the left margin.

     
     *************************
     *************************
     *****               *****
     ****  *************  ****
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ****  *************  ****
     +++++               +++++
     ****  *************  ****
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ***  ***************  ***
     ****  *************  ****
     *****  ***********  *****
     ******             ******
     *************************
     *************************

The class you will be writing will be called Pattern. Run your program on the command line. The file that you will be submitting will be called Pattern.java. The following header must precede any code that you write.

/*
  File: Pattern.java

  Description:

  Student Name:

  Student UT EID:

  Course Name: CS 312

  Unique Number: 

  Date Created:

  Date Last Modified:

*/

You have to have a CS account to use the turnin system. Use the link below to create one:

https://apps.cs.utexas.edu/udb/newaccount/

Do remember your CS username and CS password that you created. You must use that on the CS turnin system. To protect your privacy neither I nor my TAs have access to your account. If you forget your password you can change your password at

https://apps.cs.utexas.edu/udb/passwd/

If you still are having problems with your account, you can e-mail udb@cs.utexas.edu and copy me on that e-mail.

You will follow the standard Java Coding Conventions. You can either view the HTML page or download the PDF or Postscript and print it out. There is a modification that I would like to make to the standard coding conventions. Please align the opening and closing braces vertically so that you can easily make out the blocks of code. For example:

Do this:
if ( x > 5 )
{
  a = b + c;
}

Not this:
if ( x > 5 ) {
  a = b + c;
}

Use the turnin program to submit your Pattern.java file. We should receive your work by 11 PM on Sunday, 15 Jun 2014. There will be substantial penalties if you do not adhere to the specifications and guidelines.