Contact Learn C
Copy Program Share Program

Program 44:Alphabetical Pattern 3

Program 44:
#include<stdio.h>
main()
{
 int i,j,num,k=65;
 printf("Enter number of rows\n");
 scanf("%d",&num);
 for(i=1;i<=num;i++)
 {
 
  for(j=1;j<=num;j++)
  {
   printf("%c",k);
   
  }
  k++;
  
 printf("\n");
 }
}
Explanation:

 //Pending

 Output:

Alphabetical Pattern 3

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide