Star Pyramid In C Post author:admin Post published:July 30, 2018 Post category:C Programms Post comments:0 Comments #include<stdio.h> #include<conio.h> void main() { int i,j,k; clrscr(); for(i=1;i<=5;i++) { for(k=1;k<=5-i;k++) { printf(” “); } for(j=1;j<=i;j++) { printf(” *”); } printf(“\n”); } getch(); } Output: Tags: star pattern, star pyramid, Star pyramid in C Read more articles Previous PostRight Triangle Pattern in C You Might Also Like Program to swap two numbers using third variable in C August 4, 2018 Mirrored Right Triangle Pattern In C July 30, 2018 Program To Print The Absolute Value In C July 30, 2018 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.