Ytterligare uppgifter - 1

"Hej, soldat!"

"Hej, kapten ekorrar, sir!"

"Jag har fantastiska nyheter till dig. Här är några uppgifter för att stärka dina nya färdigheter. Arbeta med dem varje dag, och din kompetens kommer att växa exponentiellt. De var speciellt designade för IntelliJ IDEA."

1
Uppgift
Java Syntax,  nivålektion
Låst
Mercantile intentions
Let's be honest with each other: a programmer's salary wasn't the last thing on your mind when you decided to start coding in Java? Here at the secret CodeGym center we are well aware of this and believe it's nothing to be ashamed of. In this task, let's cut to the chase: display "I want a big salary, and that's why I'm studying Java".
1
Uppgift
Java Syntax,  nivålektion
Låst
Financial expectations
Dreaming isn't bad for you, especially if your dreams are accompanied by actions (in our case, practical Java training). Let's use the keyboard to enter your expected hourly wage. Then display a message on the screen. No need to be humble. The main thing is to write the code correctly and think about algorithms.
6
Uppgift
Java Syntax,  nivålektion
Låst
Sum of the digits of a three-digit number
We've got a puzzle for you that will require a little thinking. Or you can Google the solution if you aren't too keen on math puzzles. In any case, you will do well to understand the whys and wherefores. You need to implement a method that takes a three-digit number and returns the sum of that number's digits.

"Hur jobbar jag med dem?"

"Först startar du IntelliJ IDEA. Få sedan uppgifterna via plugin. Du använder även plugin för att skicka in de slutförda uppgifterna för verifiering."