C Program to print stars Sequence Post author:Educate Post published:August 1, 2023 Post category:C and C++ Post comments:0 Comments #include #include void main() { int i,j; clrscr(); for(i=1;i<=5;i++) { for(j=1;j<=i;j++) printf(ā*ā); printf(ā\nā); } getch(); } Output:* ** *** **** ***** You Might Also Like C program to count the number of nodes in the binary search tree August 31, 2023 C program to find factorial of a number August 1, 2023 C program to show input and output of a string August 2, 2023 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.