advictoriam

Untitled

Jan 8th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. /**
  2.    A program to draw a 5-step staircase
  3. */
  4.  
  5. public class Staircase
  6. {
  7.    public static void main(String[] args)
  8.    {
  9.       System.out.println("  ____");
  10.       System.out.println("  I__I___");
  11.       System.out.println("  I_____I___");
  12.       System.out.println("  I________I___");
  13.       System.out.println("  I___________I___");
  14.       System.out.println("  I______________I___");
  15.    }
  16. }
Add Comment
Please, Sign In to add comment