Created
January 13, 2014 06:59
-
-
Save hiun/8395794 to your computer and use it in GitHub Desktop.
simple upperer
This file contains 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
#include <stdio.h> | |
int main(void) | |
{ | |
char a; | |
printf("------------ uppercase -------------\n"); | |
printf("------- jan 13 2014 hiun kim -------\n\n"); | |
printf("type latter want to display uppercase : "); | |
scanf("%c", &a); | |
if( a == 's' || a == 'S' ) { | |
printf("\n Sejong \n\n"); | |
} | |
if( a == 'e' || a == 'E' ) { | |
printf("\n sEjong \n\n"); | |
} | |
if( a == 'j' || a == 'J' ) { | |
printf("\n seJong \n\n"); | |
} | |
if( a == 'n' || a == 'N' ) { | |
printf("\n sejoNg \n\n"); | |
} | |
if( a == 'g' || a == 'G' ) { | |
printf("\n sejonG \n\n"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment