We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f6c17 commit 12d4eaeCopy full SHA for 12d4eae
Challenge/JisuKim/029.대문자/README.md
@@ -0,0 +1,5 @@
1
+# 문제29 : 대문자만 지나가세요
2
+
3
+진구는 영어 학원 아르바이트를 하고 있습니다. 반 아이들은 알파벳을 공부하는 학생들인데 오늘은 대문자 쓰기 시험을 봤습니다.
4
5
+알파벳 하나만을 입력하고 그 알파벳이 대문자이면 YES를 아니면 NO를 출력하는 프로그램을 만들어 주세요.
Challenge/JisuKim/029.대문자/solve.js
@@ -0,0 +1,16 @@
+// 문제29 : 대문자만 지나가세요
+// 진구는 영어 학원 아르바이트를 하고 있습니다. 반 아이들은 알파벳을 공부하는 학생들인데 오늘은 대문자 쓰기 시험을 봤습니다.
+// 알파벳 하나만을 입력하고 그 알파벳이 대문자이면 YES를 아니면 NO를 출력하는 프로그램을 만들어 주세요.
6
7
+function solution (string) {
8
+ if (string === string.toUpperCase()) {
9
+ console.log('yes')
10
+ } else {
11
+ console.log('no')
12
+ }
13
+}
14
15
+var word = 's'
16
+solution(word)
0 commit comments