Right-angle triangle
Lição 6 de 30 do curso Bootcamp de Padrões de Estrelas da Coddy.
Desafio
FácilEscreva um programa que imprima um triângulo retângulo de estrelas como mostrado abaixo. O padrão consiste em 6 linhas e 6 colunas.
Padrão de Saída:
*
* *
* * *
* * * *
* * * * *
* * * * * * Experimente você mesmo
#include <stdio.h>
int main() {
// Escreva o código aqui
return 0;
};Todas as lições de Bootcamp de Padrões de Estrelas
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