Print the ASCII values of all the English Alphabets

#include<stdio.h>
void main()
{
char chl='a';
char chu='A';
int i;
printf("\n===========================");
for(i=1;i<=26;i++,chu++,chl++)
printf("\n|%c | %d \t|| %c| %d |",chl,chl, chu, chu);
printf("\n===========================");
}




  

Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C