//Write a C program to print all alphabets from a to z. – using while loop
#include "stdio.h"
int main (){
char ch;
printf ("The series of all alphabets from a to z are :\n");
ch='a';
while(ch<='z'){
printf ("%c ",ch);
ch++;
}
return 0;
}
output output output
The series of all alphabets from a to z are :
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
No comments:
Post a Comment