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 i, j;
printf("The alphabets are:- \n");
for (i = 65, j = 97; i <= 90, j <= 122; i++, j++)
{
printf("%c %c \n", i, j);
}
getch();
}
OUTPUT
The alphabets are:-
Aa
Bb
Cc
D d
E e
F f
Gg
Hh
Ii
Jj
Kk
Ll
Mm
Nn
Oo
Pp
Rr
Ss
Tt
Uu
Vv
Ww
Xx
Yy
Zz
0 Comments