C program to print star pattern 1 Posted by Shrinidhi Katti Get link Facebook X Pinterest Email Other Apps C Program to print star pattern 1 * * * * * * * * * * * * * * * * * * * * * * * * * #include<stdio.h> int main() { printf("The star pattern is:\n"); int i,j,k; for(i=0;i<5;i++) { printf("\n"); for(j=0;j<5;j++) { printf("* "); } } } Output: Comments
Comments
Post a Comment