write ac program to print all the alphabets from a-z and A-Z


QUESTION:-  write a c program to print all the alphabets from a-z and A-Z

A-Z | 65-90 

 a-z | 97-122 


#include <stdio.h>

#include <conio.h>

int main()

{

    int ij;

    printf("The alphabets are:- \n");

    for (i = 65j = 97i <= 90j <= 122i++, j++)

    {

        printf("%c %c \n"ij);
    }

    getch();
}


OUTPUT

The alphabets are:- 

Aa 

Bb 

Cc 

D d

E e

F f

Gg

Hh

Ii

Jj

Kk

Ll

Mm

Nn

Oo

Pp

Qq

Rr

Ss

Tt

Uu

Vv 

Ww

Xx

Yy

Zz



Follow our page for regular updates.

0 Comments