>>415
こんな風に

#include <stdio.h>
#include <ctype.h>

int main()
{
int c;
while((c=getchar())!=EOF)
putchar(islower(c)?c-32:c);
return 0;
}