Java Notes

Programming: Nested Loops

Name ________________________________________

Write a nested loop to display the following, given that you already have the number n. You only have to write the loops, not an entire program. The example below show what the output would be for n=5.

*
 *
  *
   *
    *