Skip to content

Instantly share code, notes, and snippets.

@Rahajustone
Created March 14, 2014 19:38
Show Gist options
  • Save Rahajustone/9555163 to your computer and use it in GitHub Desktop.
Save Rahajustone/9555163 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int kucukh_harf(int c)
{
if(c>='A'&&c<='Z')
return c+'a'-'A';
else
return c;
}
int main(void)
{
int a;
scanf("%d",&a);
printf("%c\n",kucukh_harf(a));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment