Wednesday, July 20, 2011

Program to print alphabets like{Aa Bb Cc...}

/*Serial No.42     [swami13.cpp]*/

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j=0;
clrscr();
for(i=65;i<=90;i++)
    {
    j=i+32;
    printf("%c%c ",i,j);
    }
getch();
}


OUTPUT :
 Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz

No comments:

Post a Comment

If you have any doubt, feel free to ask...