"안녕하세요, 친구. 오늘 할 몇 가지 작업이 더 있습니다. 더 어렵게 만들려면 print/println 메서드 내부의 변수만 사용하시기 바랍니다."
"그것도 가능해?"
"기억하세요, 아미고: 우리 로봇은 불가능한 것을 할 수 있고 구부릴 수 없는 것을 구부릴 수 있습니다."
3
과제
Java Syntax, 레벨 3, 레슨 6
Sam I Am
I don't know why Dr. Suess's sadistic character Sam-I-Am wanted to badger others into eating green eggs and ham, but we admire his tenacity. Here at the secret CodeGym center we respect the classics. And we respect combinatorics. Hence, your task: display all possible combinations of the words "Sam", "I" and "Am".
6
과제
Java Syntax, 레벨 3, 레슨 6
Multiplication table
In ancient times, when robots were few, human children were forced to learn the multiplication table. How cruel! Multiplication tables were written by hand over and over in notebooks. What a waste! We won't sully any paper, and there's no reason to teach you the table. Simply display it on the screen. Here's your secret weapon: the while loop.
3
과제
Java Syntax, 레벨 3, 레슨 6
Roy G. Biv…
In all ages, the rainbow has inspired artists and poets and served as a good omen for ordinary people. Programmers are also people capable of admiring the beauty of nature. Since we're talking about the aesthetics of the rainbow, let's create 7 objects. Each of them will display the name of one of the colors of the rainbow.
7
과제
Java Syntax, 레벨 3, 레슨 6
Escaping characters
You need to escape characters that a compiler interprets differently than a person does. For example, double quotes. The compiler uses them to mark the beginning and end of a string, but not to display them on the screen. So if we need to display double quotes, we use escape characters. Let's practice this skill. Complete a task about escaping characters.
1
과제
Java Syntax, 레벨 3, 레슨 6
The way of the Samurai
"Weigh every word and always ask yourself whether what you want to say is true," says the Samurai code. What do you think, is the following phrase true?: 日本語 And is it a phrase, or perhaps just a word? Your task is to display these logograms on the screen. The task was created by top specialists as part of Japanese language week at CodeGym.