Write a program to print star pattern which is given below in C-Language

Write a program to print star pattern which is given below in C-Language


*****
*****
*****
*****
*****

 #include<stdio.h>

int main(){

int i,j;

for(i=1;i<=5;i++){

for(j=1;j<=5;j++){

printf("*");

}

printf("\n");

}

return 0;

}


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.