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=1; i<=5; i++) {
- for(int j=1; j<=i; j++) {
- System.out.print("*");
- }
- System.out.println(" ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement