Print all alphabets from a to z. using while loop with C
#include <stdio.h>
int main()
{
char character;
printf("Alphabets from a - z are: \n");
for (character = 'a'; character <= 'z'; character++)
{
printf("%c ", character);
}
return 0;
}
Output:-
Alphabets from a - 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
0 Comments