Hier wird nicht in die äußere Schleife gesprungen.
Es wird einmal das # gedruckt....und das wars... ???:L
Es wird einmal das # gedruckt....und das wars... ???:L
Code:
int x=3;
StringBuffer zeile = new StringBuffer(" ");
zeile.insert(18,'#');
System.out.print(zeile);
System.out.print("\n\r");
for(int n=17; n<7; n--)
{
for(int z=1; x<=z; z++)
{
zeile.insert(n,'#');
System.out.print(zeile);
System.out.print("\n\r");
}
x=x+2;
}