Left-angle triangle
Leçon 7 sur 30 du cours Bootcamp : Motifs d'étoiles de Coddy.
Défi
FacileÉcrivez un programme qui affiche un triangle rectangle orienté à gauche composé d'étoiles, comme illustré ci-dessous. Le motif se compose de 6 lignes et 6 colonnes.
Modèle de sortie :
*
* *
* * *
* * * *
* * * * *
* * * * * *Essayez vous-même
#include <stdio.h>
int main() {
// Écrire le 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 Pattern3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern