Alphabet Letter Pattern Series Programs in C

Alphabet Letter Pattern Series Programs in C

C के विभिन्न control statements को जानने के लिए देखें— Control statements in C

C Language के बारे में अधिक जानने के लिए देखें—Brief Introduction of C

C और C++ दोनों भाषाओं में महत्वपूर्ण अंतर क्या है जानने के लिए देखें—C vs C++

Alphabet Letter Pattern Series Programs in C

Write a C program to generate/print following rectangle alphabet pattern/series:

AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
#include<stdio.h>
int main()
{
    int i,j;
    for(i=1;i<=5;i++)
    {
        for(j=1;j<=5;j++)
        {
            printf("A");
        }
        printf("\n");
    }
    return 0;
 }

Write a C program to generate/print following right angle alphabet pattern/series:

A
AA
AAA
AAAA
AAAAA
#include<stdio.h>
int main()
{
    int i,j;
    for(i=1;i<=5;i++)
    {
        for(j=1;j<=i;j++)
        {
            printf("A");
        }
        printf("\n");
    }
    return 0;
 }

Write a C program to generate/print following right angle repeatedly increasing alphabet pattern/series:

A
BB
CCC
DDDD
EEEEE
#include<stdio.h>
int main()
{
    int i,j;
    for(i='A';i<='E';i++)
    {
        for(j='A';j<=i;j++)
        {
            printf("%c",i);
        }
        printf("\n");
    }
    return 0;
 }

Write a C program to generate/print following right angle increasing alphabet pattern/series:

A
AB
ABC
ABCD
ABCDE
#include<stdio.h>
int main()
{
    int i,j;
    for(i='A';i<='E';i++)
    {
        for(j='A';j<=i;j++)
        {
            printf("%c",j);
        }
        printf("\n");
    }
    return 0;
 }

Write a C program to generate/print following right angle increasing alphabet pattern/series:

A
BC
DEF
GHIJ
KLMNO
#include<stdio.h>
int main()
{
    int i,j,k='A';
    for(i='A';i<='E';i++)
    {
        for(j='A';j<=i;j++)
        {
            printf("%c\t",k);
            k++;
        }
        printf("\n");
    }
    return 0;
 }

Similar Pattern Series Programs in C

  1. Asterisk Star Patterns
  2. Number Digit Patterns
Share it to: