#include<stdio.h>
int main()
{
char i,j;
for(i='A'; i<='E'; i++)
{
for(j='A'; j<='E'; j++)
{
printf("%c",i);
}
printf("\n");
}
return 0;
}
#include<iostream.h>
int main()
{
char i,j;
for(int i ='A';i<='E';i++)
{
for(int j ='A';j<='E';j++)
{
cout<<char(i);
}
cout<<endl;
}
return 0;
}
class PatternProg
{
public static void main(String a[])
{
char i;
char j;
for (i = 'A'; i <= 'E'; i++)
{
for (j = 'A'; j <= 'E'; j++)
{
System.out.print(i);
}
System.out.print("\n");
}
}
}
using System;
class PatternProg
{
public static void Main(string[] a)
{
char i;
char j;
for (i = 'A'; i <= 'E'; i++)
{
for (j = 'A'; j <= 'E'; j++)
{
Console.Write(i);
}
Console.WriteLine();
}
Console.ReadKey(true);
}
}
for x in range(65, 70):
for y in range(1, 6):
print(chr(x), end="")
print()
"""
Another way
for x in 'ABCDE':
for y in 'ABCDE':
print(x,end="")
print()
"""