Write a C-program to print a to z using do while loop?

Write a C-program to print a to z using do while loop


#include <stdio.h>
int main() {
    char ch='a';
    do
    {
         printf("\n %c",ch);
         ch++;
    }while(ch<='z');
    return 0;
}

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




More Programs


92 . Write a C-program to print a to z using do while loop
93 . Write a C-program to print ASCII values of a to z using do while loop
94 . Write a C-program to print ASCII values of A to Z using do while loop
95 . Write a C-program to print ASCII values of Numbers using do while loop