Hollow Full Pyramid
Lesson 25 of 30 in Coddy's Star Pattern Bootcamp course.
Challenge
EasyWrite a program that prints a Hollow Full Pyramid pattern of stars as shown below. The pattern consists of 5 rows and 9 columns.
Expected Output Pattern:
*
* *
* *
* *
* * * * * * * * * Try it yourself
#include <stdio.h>
int main() {
// Write code here
return 0;
};All lessons in Star Pattern Bootcamp
2Beginner Level Pattern's
Row of starsColumn of starsSolid square of starsRight-angle triangleLeft-angle triangleInverted right-angle triangleInverted left-angle triangleRhombus Pattern5Hollow Pattern's
Hollow SquareHollow Full PyramidHollow Inverted Full PyramidHollow Arrow Pyramid UpwardHollow Arrow Pyramid DownwardHollow Diamond PatternHollow Sand glass Pattern3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern