Sand glass pattern
Coddyの「星型パターン・ブートキャンプ」コースのレッスン 22/30。
チャレンジ
簡単以下に示すような星の砂時計パターンを出力するプログラムを作成してください。 このパターンは9行9列で構成されています。
期待される出力パターン:
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
* * *
* * * * *
* * * * * * *
* * * * * * * * * 自分で試してみよう
#include <stdio.h>
int main() {
// ここにコードを記述します
return 0;
};星型パターン・ブートキャンプのすべてのレッスン
4Advanced Level Pattern's
Upper Butterfly PatternLower Butterfly PatternFull Butterfly PatternInverted Butterfly PatternSand glass patternHeart Pattern3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern