Wednesday, July 20, 2011

Program to print alphabets like{Az By Cx...}

/*Serial No.45     [swami16.cpp]*/

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



OUTPUT :
Az By Cx Dw Ev Fu Gt Hs Ir Jq Kp Lo Mn Nm Ol Pk Qj Ri Sh Tg Uf Ve Wd Xc Yb Za

1 comment:

  1. not working
    shows error
    i.e conio.h no such file or directory

    ReplyDelete

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