print alphabets from a-z in c program


program:-


#include<stdio.h>
main()
{
 int i;
 for(i=65;i<=90;i++)
 {
 printf("%c\n",i);
 }
}

output:-

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post