Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- A program to draw a 5-step staircase
- */
- public class Staircase
- {
- public static void main(String[] args)
- {
- System.out.println(" ____");
- System.out.println(" I__I___");
- System.out.println(" I_____I___");
- System.out.println(" I________I___");
- System.out.println(" I___________I___");
- System.out.println(" I______________I___");
- }
- }
Add Comment
Please, Sign In to add comment