ピラミッドとパターンを印刷する. C

ピラミッドとパターンを印刷する. C



*の半ピラミッド
C example code

C

  Output result
Enter the number of rows:  5
*
* *
* * *
* * * *
* * * * *
C example code

C

  Output result
Enter the number of rows:  5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
※の逆半ピラミッド
C example code

C

  Output result
Enter the number of rows:  5
* * * * *
* * * *
* * * 
* *
*
* の完全なピラミッド
C example code

C

  Output result
Enter the number of rows: 5
        *
      * * *
    * * * * *
  * * * * * * *
* * * * * * * * *
数字の完全なピラミッド
C example code

C

  Output result
1
      2 3 2
    3 4 5 4 3
  4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5
* の完全逆ピラミッド
C example code

C

  Output result
Enter the number of rows: 5
* * * * * * * * *
  * * * * * * *
    * * * * *
      * * *
        *


.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