Hollow Diamond Pattern
Lektion 29 von 30 im Kurs Sternmuster-Bootcamp von Coddy.
Aufgabe
EinfachSchreiben Sie ein Programm, das ein Hollow Diamond pattern aus Sternen ausgibt, wie unten gezeigt. Das Muster besteht aus 9 Zeilen und 9 Spalten.
Erwartetes Ausgabemuster:
*
* *
* *
* *
* *
* *
* *
* *
*Probier es selbst
#include <stdio.h>
int main() {
// Hier Code schreiben
return 0;
};Alle Lektionen in Sternmuster-Bootcamp
2Beginner Level Pattern's
Row of starsColumn of starsSolid square of starsRight-angle triangleLeft-angle triangleInverted right-angle triangleInverted left-angle triangleRhombus Pattern5Hollow Pattern's
Hollow SquareHollow Full PyramidHollow Inverted Full PyramidHollow Arrow Pyramid UpwardHollow Arrow Pyramid DownwardHollow Diamond PatternHollow Sand glass Pattern3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern