|
Problem definition |
| Create a program called diamond.java, which outputs the diamond pattern below.
You may use an output statement that print one asterisk, an output statement that prints a single space, and an output statement to create a new line.Use your knowledge of nested loops to solve this problem. For bonus points, modify the program so that it accepts an integer between 1-20 from the user . Using this integer output a diamond shape with the inputted number of rows. |
|
Additional information |
||||||||||||
|
||||||||||||
|
Programming Tip |
||||||||||||
|
|
||||||||||||
|
||||||||||||
|
Assigned date : September 6, 2007 ; Due date : September 10, 2007 |
||||||||||||