#include<stdio.h>
int main()
{
int i,j;
for(i=5; i>=1; i--)
{
for(j=1; j<=5; j++)
{
printf("%d",i);
}
printf("\n");
}
return 0;
}
#include<iostream.h>
int main()
{
for(int i=5;i>=1;i--)
{
for(int j=1;j<=5;j++)
{
cout<<i;
}
cout<<endl;
}
return 0;
}
class PatternProg
{
public static void main(String args[])
{
for(int i=5; i>=1; i--)
{
for(int j=1; j<=5; j++)
{
System.out.print(i);
}
System.out.println();
}
}
}
using System;
class PatternProg
{
public static void Main()
{
for (int i = 5; i >= 1; i--)
{
for (int j = 1; j <= 5; j++)
{
Console.Write(i);
}
Console.WriteLine();
}
Console.ReadKey(true);
}
}
for x in range(5, 0, -1):
for y in range(5, 0, -1):
print(x, end="")
print()