Skip to content

Instantly share code, notes, and snippets.

@mactkg
Created March 7, 2011 15:15
Show Gist options
  • Save mactkg/858616 to your computer and use it in GitHub Desktop.
Save mactkg/858616 to your computer and use it in GitHub Desktop.
#include<stdio.h>
main(){
int c;
while((c=getchar())!='z'){
if(96 < c && c < 123) c = c - 32;
printf("%c", c);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment