C Program to Print all Alphabets From a to z ?
Q:- Write a C Program to Print all Alphabets From a to z ?
Input
#include<stdio.h>
#include<conio.h>
main()
{
char ch=’a’;
clrscr();
printf(“Alphabets From a to z are =”);
while(ch<=’z’)
{
printf(“%c\t”,ch);
ch++;
}
getch();
}
Output
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
Comments
Post a Comment