ChrisHull/Light

From ggc

Jump to: navigation, search

01 package ChrisHull;
02 /** I looked at Hpullay program and it looked similar to my original I just couldnt get mine to compile. **/
03 import wiki.Wiki;
04 /**
05  * All about my application here.
06  @author Chull
07  */
08 public class Light
09 {
10   public static void main(String[] args)
11   {
12     for(int i=0; i<5; i++)
13     {
14       /** this part prints out the line to seperate the boxes. **/
15       Wiki.out.println("--------------");
16       /** this part puts the box  wall and then a 1 for each row. **/
17       Wiki.out.println("|"+(1)+"|"+(1)+"|"+(1)+"|"+(1)+"|"+(1)+"|");
18     }
19     /** this part sets up the box bottom. **/
20     Wiki.out.println("--------------");
21 
22   }
23 }


Download/View ChrisHull/Light.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter