Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abcde
- abcd
- abc
- ab
- a
- char x;
- int i;
- for (i = 5; i>1; i--)
- {
- for (x = 'a'; x<=(char)(i); x++)
- {
- System.out.print(x);
- }
- System.out.println();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement