Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int a = 1; a <= 5; a++) {
- int t = 0;
- while(t < a) {
- System.out.print("x");
- //System.out.println();
- t++;
- }
- System.out.println();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement