undefined

Tasks

Java Syntax
Level 3 , Lesson 6
Available

"Hi, buddy. Here are a couple more tasks for today. To make them more challenging, I want you to only use variables inside the print/println method."

Tasks - 1

"Is that even possible?"

"Remember, Amigo: we robots can do the impossible and bend the unbendable."

undefined
3
Task
Java Syntax, level 3, lesson 6
Locked
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".
undefined
6
Task
Java Syntax, level 3, lesson 6
Locked
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.
undefined
3
Task
Java Syntax, level 3, lesson 6
Locked
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.
undefined
7
Task
Java Syntax, level 3, lesson 6
Locked
Escaping characters
You need to escape characters that a compiler interprets differently than a person. 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.
undefined
1
Task
Java Syntax, level 3, lesson 6
Locked
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.
Comments (88)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Victor Level 4 Buenos Aires Argentina
29 四月 2021
The way of the Samurai : The task was created by top specialists as part of Japanese language ジャジャジャ
miguel Level 4 Corredor
21 四月 2021
Hi everybody, worth it to pay subscription to evaluate code and It coud be annual subscription? I want to do again the exercises but when I get run the program, I have the message that the exercise has been complete... Is there a way to do the exercise again in the platform?
miguel Level 4 Corredor
10 四月 2021
I can't find the tasks
Tom Haydock Level 4 Raleigh United States
15 二月 2021
I will not code this with a fox 😸 I will not code this in a box 💼 I will not generate loads of spam 🥩 I will not code it, Sam I Am 😎
Rishabh Joshi Level 9 Indore India
23 十一月 2020
we haven't been taught loops but when i checked the correct answer, it has the loops concept. Did i miss something?
25 十月 2020
something struck my curiosity what is Roy b. Giv
Kelly Reed Level 4 Wichita United States
17 十月 2020
// (we type) = / (within an argument, i.e. println("//") console will display / println("/"") = console displays " ugh!!!!!!
kenneth payne Level 3 San Diego United States
11 十月 2020
I took a week off and worked a bit with Git Bash in the random group, I forgot a lot of the stuff I learned, no more breaks for me!
vigvu Level 6 Malmoe Sweden
11 十月 2020
This was a hard one for me. Just keep trying with the backslash and u will get it eventually.
Switch/Cypher Level 25 Bexleyheath United Kingdom
5 九月 2020
There is a space between Program and Files in both lines. Impossible to tell from the example text.