C Program to Print Pattern (Pattern 7)

C Program to Print Pattern


Program

        
#include <stdio.h>

int main() {
    for(int i=0; i<5; i++) {
        for(int j=0; j<5; j++) {
            printf("* ");
        }
        printf("\n");
    }
    return 0;
}
        
    

Output

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



Join Our Social Media Connections

Post a Comment

0 Comments