Monday 2 July 2018

Ankit

C program to display ASCII value of alphabet

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...




#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
   clrscr();
   int ch=65;
   do
   {
   printf("%c\t",ch);
   ch++;
   delay(1000);
   }
   while(ch!=91);
getch();

Ankit

About Ankit

Yeppz itz me 18 year old blogger who is sharing about his tricks and tips related to mobile or computer. I am very passionate about Tricks And Hacks, and mainly focust to the tweaks, tricks....

Subscribe to this Blog via Email :