22 lines
284 B
C
22 lines
284 B
C
|
#include <stdio.h>
|
||
|
#include <ctype.h>
|
||
|
|
||
|
char chars[] = {
|
||
|
'a',
|
||
|
'5',
|
||
|
'$',
|
||
|
'z'
|
||
|
};
|
||
|
|
||
|
#define SIZE sizeof( chars ) / sizeof( char )
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
for( i = 0; i < SIZE; i++ ) {
|
||
|
printf( "%c ", toupper( chars[ i ] ) );
|
||
|
}
|
||
|
printf( "\n" );
|
||
|
}
|