Search This Blog

Translate

c program to print Display ASCII value of A-Z & a-z

c program to print Display ASCII value of A-Z & a-z

#include"stdio.h"
#include"conio.h"
void main()
{
char ch;
int i;
clrscr();
printf("ASCII value of A to Z is=\n");
ch='A';
for(i=0;i<26;i++)
{
printf("%c=%d\n",ch,ch);
ch++;
}
printf("\n\nASCII value of a to z is=\n");
ch='a';
for(i=0;i<26;i++)
{
printf("%c=%d\n",ch,ch);
ch++;
}
getch();
}


c program to  print
Display ASCII value of A-Z & a-z

C Program example List

Google+ Badge