Pyramid of stars
Lesson 11 of 30 in Coddy's Star Pattern Bootcamp course.
Challenge
EasyWrite a program that prints a Pyramid Pattern of stars as shown below. The pattern consists of 6 rows and 11 columns.
Output Pattern:
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
* * * * * * * * * * * Try it yourself
#include <stdio.h>
int main() {
// Write code here
return 0;
};All lessons in Star Pattern Bootcamp
3Intermediate Level Pattern's
Pyramid of starsInverted PyramidDiamond PatternRight Direction ArrowLeft Direction ArrowPlus PatternX Pattern