#include <stdio.h>
int main(void)
{
int i,a[100];
char k='A';
for(i=1;i<=26;i++)
{
a[i]=k;
k++;
}
for(i=1;i<=26;i++)
{
printf("%2c",a[i]);
}
printf("\n");
system("pause");
return 0;
}
This is the output:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 comments:
Post a Comment