Hollow Sand glass Pattern
Leçon 30 sur 30 du cours Bootcamp : Motifs d'étoiles de Coddy.
Défi
MoyenÉcrivez un programme qui affiche un Hollow Sand glass pattern d'étoiles comme illustré ci-dessous. Le motif se compose de 9 lignes et 9 colonnes.
Modèle de Sortie Attendu :
* * * * * * * * *
* *
* *
* *
*
* *
* *
* *
* * * * * * * * * Essayez vous-même
#include <stdio.h>
int main() {
// Écrivez votre code ici
return 0;
};Toutes les leçons de Bootcamp : Motifs d'étoiles
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