Rev 545 | Details | Compare with Previous | Last modification | View Log | RSS feed
/*
* reads stdin and writes to stdout after upcasing
*/
#include <stdio.h>
int main(void) {
int c;
while ((c = getchar()) != EOF) {
if ((c >= 'a') && (c <= 'z')) c -= ('a' - 'A');
putchar(c);
}
return(0);