patternprogram_1_softethics

Pattern 1

C

 #include<stdio.h>
 int main()
 {
   int i,j;
   for(i=1; i<=5; i++)
   {
     for(j=1; j<=5; j++)
     {
       printf("*"); // put any character
     }
     printf("\n");
   }
   return 0;
 }

C++

Java

C#

Python

Tutorial (YouTube)

5 13 votes
Rate this Program
Subscribe
Notify of
guest


1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Madhuri Mehta

Thank you Sir. Awesome explanation