Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- int anzahlReihen = 8;
- for(int i = anzahlReihen; i >= 1; i--) {
- System.out.printf("%" + (int) (anzahlReihen - i + 1) + "s", "");
- for(int j = 1; j <= i; j++) {
- System.out.printf("# ");
- }
- println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement