WAP in C to print alphabets from A to Z
This program is made to display ASCII value of alphabets. The ASCII value of A-Z is 65-91.this program will all capital letter alphabet with a time delay of 1 sec.
Here we use delay() to use time which is in dos.h header file ,we have to enter time in millisecond because it takes time in millisecond...
This program is made to display ASCII value of alphabets. The ASCII value of A-Z is 65-91.this program will all capital letter alphabet with a time delay of 1 sec.
Here we use delay() to use time which is in dos.h header file ,we have to enter time in millisecond because it takes time in millisecond...
#include
#include
#include
void main()
{
clrscr();
int ch=65;
do
{
printf("%c\t",ch);
ch++;
delay(1000);
}
while(ch!=91);
getch();
No comments:
Post a Comment