CodeGym /Courses /Java Syntax /Additional tasks

Additional tasks

Java Syntax
Level 3 , Lesson 12
Available
Additional tasks - 1

"Hello, soldier!"

"Hello, Captain Squirrels, sir!"

"I have great news for you. Here are some tasks to reinforce your new skills. Work on them every day, and your competence will grow exponentially. They were specially designed for IntelliJ IDEA."

"How do I work on them?"

"First, you start IntelliJ IDEA. Then get the tasks through the plugin. You also use the plugin to submit the completed tasks for verification."

3
Survey/quiz
The if statement, level 3, lesson 12
Unavailable
The if statement
The if statement
Comments (40)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Lunita Level 4, Dominican Republic
31 January 2023
I liked these challenges... Financial took me 3 tries just because typos tho! :/ The "hard" is quite easy.
NNAMDI HENRY Level 6, ABUJA, Nigeria
28 June 2021
Dear coders, Who can explain the third task for me. It's confusing me.
Banana Llama Level 8
13 July 2021
level 3, lesson 12? What are you struggling with?
lucascorrea Level 4, Viamão, Brazil
14 October 2021
você só precisa inicializar o BufferedReader, depois criar uma variável int (ou String) chamada 'n' e atribuir a ela a leitura do que foi digitado com o

 reader.readLine()
. Depois só imprimir na tela com o texto concatenado com a variável n.
NaTasia Madison Level 8, Atlanta, United States
9 June 2021
Sum of the digits of a three-digit number makes no sense at all. Since we're finding the quotient: sum=6, number= 54 sum=6, number= 5 sum=1. How tf are you getting 15. Please make it make sense!!!!! It's extremely frustrating when I know my math is correct. Correct me if I'm wrong but quotient is the remainder? If not, it still doesn't make sense. sum=54, number= 54 sum=10, number=5 sum=1 Very annoying!
Banana Llama Level 8
13 July 2021
Sum of the three numbers 546. 5 + 4 + 6 = 15
BoluwajiPeters Level 4, Vacuum. , Nigeria
17 February 2021
In the mercantile task, the "for" called is another method and can someone break it down for me? I mean the: for (int i = 0, i <10, i++){ }
Robert Level 7, Eau Claire, United States
16 April 2021
My understanding of for loops is that each time we run through them we start from left to right with the int "i" having the value of 0. As long as i < 10, we do the thing, which is encased in the brackets "{ }". In this case, we are printing the desired salary. We also increase the value of i by 1. This is handled by the "i++". Then it starts the loop over again, and does this until the statement "i < 10" is no longer true. Since we started with a value of i = 0, we run the loop 0 - 9 times, or a total of 10 times.
Banana Llama Level 8
13 July 2021
Spot on. You can assign any number to the `int i` variable. 0 is used most often because positions in arrays start with 0.
Kelly Reed Level 4, Wichita, United States
25 October 2020
move the number, use int to remove remainder, add to sum....wow.... logic/math problem psudo code then...... rewrite in programming language java....argh...
Jeremi Nuer Level 7, San Francisco, United States
8 June 2020
For financial expectations task, why is it that we readLine with a String, yet the input is a number and the computer has no problem reading the integer as a string?
Andrei Level 41
26 August 2020
I would like to help you but i don't understand your question well. Can you please rephrase?
Steve Level 22, Carrollton, United States
25 September 2020
A string can be numbers or text; either is fine as long as you're not trying to perform an operation on it that doesn't correspond to the type.
monipuff Level 22, United Kingdom
26 April 2020
I love it when the completed task meets all requirements but the displayed text doesn't match task conditions...
Maryem Vickers Level 7, HT..., United Kingdom
2 July 2020
LOL it caused me problems, look! lol
nag Level 4, Arlington, United States
21 February 2020
I am not getting this tasks in CodeGym plugin, is any body facing same issue?
Fuzzy_Melon Level 9, United States
22 April 2020
Well, I'm getting a "plugin needed",then a new screen, then I click on the task icon and it says"plugin needed". This was working prior to the start of my own project. I then closed my project and opened a previous codegym task. I can now see these tasks.
Ashish RajAnand Level 13, Bhilai , India
5 February 2020
I use for loop . wow nice
Stormy Morning Level 6, Draper, United States
6 January 2020
I added text to the Merchantile Intentions to ask for input "enter a dollar amount" which worked fine but until i removed it it wouldn't pass the task. I'm thinking because that put two println values in the code so it only read the first one and said it didn't match. mildly annoying