Created
October 4, 2012 03:38
-
-
Save timsegraves/3831334 to your computer and use it in GitHub Desktop.
Revisions
-
timsegraves created this gist
Oct 4, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ // Reverse Diagonal for (int i = 0; i < space; i++){ System.out.print(num + " "); num++; for(int j = 0; j < space; j++){ if (j + i == 5) { System.out.print(" *"); } else { System.out.print(" "); } } System.out.println(); }