Criar pirâmide e padrão. C++

Criar pirâmide e padrão. C++



Programa para imprimir meia pirâmide usando *
C++ example code

C++

  Output result
Enter number of rows: 5
*
* *
* * *
* * * *
* * * * *
Programa para imprimir meia pirâmide a usando números
C++ example code

C++

  Output result
Enter number of rows: 5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Programa para imprimir meia pirâmide usando alfabetos

A B B C C C D D D D E E E E E

C++ example code

C++

Meia pirâmide invertida usando *
C++ example code

C++

  Output result
Enter number of rows:  5 
* * * * *
* * * *
* * * 
* *
*
Meia pirâmide invertida usando números
C++ example code

C++

  Output result
Enter number of rows:  5
1 2 3 4 5
1 2 3 4 
1 2 3
1 2
1


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month