Skip to content

Instantly share code, notes, and snippets.

@Rahajustone
Created March 20, 2014 23:11
Show Gist options
  • Save Rahajustone/9676054 to your computer and use it in GitHub Desktop.
Save Rahajustone/9676054 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <ctype.h>
int main(void) {
int a;
a=getchar();
if(isupper(a)) //bir karakter al buyuksa ekrana yaz
printf("%c\n",a);
else
printf("%c\n",toupper(a)); //eğerki karakter kuçuksa buyuka çevir
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment