Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package test;
- /*
- *****
- ****
- ***
- **
- *
- */
- public class Test {
- public static void main(String[] arg) {
- for(int i=5; i>=1;i--) {
- for(int j=i; j>=1;j--) {
- System.out.print("*");
- }
- System.out.println(" ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement