Sarcini suplimentare - 1

— Bună, soldat!

— Bună, căpitane Veveriţe, domnule!

"Am vești grozave pentru tine. Iată câteva sarcini pentru a-ți consolida noile abilități. Lucrează la ele în fiecare zi, iar competența ta va crește exponențial. Au fost concepute special pentru IntelliJ IDEA."

1
Sarcină
Java Syntax,  nivellecţie
Blocat
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
Sarcină
Java Syntax,  nivellecţie
Blocat
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
Sarcină
Java Syntax,  nivellecţie
Blocat
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.

"Cum lucrez la ele?"

„În primul rând, porniți IntelliJ IDEA. Apoi obțineți sarcinile prin plugin. De asemenea, utilizați pluginul pentru a trimite sarcinile finalizate pentru verificare.”