Print Design

Write code that produces the following output. Use nested for loops to capture the structure of the figure.

-----1-----
 ----333----
 ---55555---
 --7777777--
 -999999999-
public class PrintDesign {
  public static void main( String[] args ) {
    
  }
}