Tuesday, March 5, 2024

 46. Print :

“11111

  22222

  33333

  44444”


#include<stdio.h>

int main()

{

    int i,j;

    for(i=1;i<=4;i++)

    {

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

        {

            printf("%d",i);

        }

        printf("\n");

    }

    return 0;

}


No comments:

Post a Comment