diff --git a/code_study/Baekjoon/c/4458.c b/code_study/Baekjoon/c/4458.c new file mode 100644 index 0000000..91eb7c1 --- /dev/null +++ b/code_study/Baekjoon/c/4458.c @@ -0,0 +1,16 @@ +#include + +int main() { + int N; + char S[31]; + scanf("%d", &N); + getchar(); + + while(N--) { + gets(S); + if('a' <= S[0] && S[0] <= 'z') S[0] -= ('a' - 'A'); + printf("%s\n",S); + } + + return 0; +} \ No newline at end of file