Created
March 18, 2013 20:22
-
-
Save austa/5190474 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * File: main.c | |
| * Author: alaattin | |
| * | |
| * Created on 18 Mart 2013 Pazartesi, 21:54 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| /* | |
| * | |
| */ | |
| int main(int argc, char** argv) { | |
| char karakter; | |
| printf("Bir karakter giriniz: \n"); | |
| for(; ;){ | |
| karakter = getchar(); | |
| if(isupper(karakter) != 0){ | |
| putchar(tolower(karakter)); | |
| printf("\n"); | |
| } | |
| else if(islower(karakter) != 0){ | |
| putchar(toupper(karakter)); | |
| printf("\n"); | |
| } | |
| } | |
| return (EXIT_SUCCESS); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment