Hollow Diamond Pattern
Leçon 29 sur 30 du cours Bootcamp : Motifs d'étoiles de Coddy.
Défi
FacileÉcrivez un programme qui affiche un motif de diamant creux d'étoiles comme illustré ci-dessous. Le motif se compose de 9 lignes et 9 colonnes.
Motif 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