Hi unswar habe ich folgendes Problem ich hab zwar ein Weinachtsbaum hingekriegt doch er muss zentriert sein
so wie auf dem Bild:
img514.imageshack.us...hp?image=baumcw4.png
hier ist mein code ,bitte um hilfe!!!
C#-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
| for (int x = 100; x >= 0; x--) { Console.Write(" x");
if (x == 100 || x == 99 || x == 96 || x == 93 || x == 88 || x == 83 || x == 76 || x == 69 || x == 60 || x == 51 || x == 40 || x == 29 || x == 16 || x == 3 || x == 2 || x == 1) { Console.Write("\n"); } } Console.ReadLine(); |
Moderiert von Christian S.: Überflüssige Leerzeilen entfernt