"Hello, Captain Squirrels, sir!"
"I have great news for you. Here are some exercises to reinforce your skills. Work on them every day, and your competence will grow exponentially. They were specially designed for IntelliJ IDEA."
Have you received an indecent financial offer? Unsure how to react to the obscenity? Do you call the morality police or simply the police? Immediately file a lawsuit? Calm down: you're learning how to program, so don't get used to indecent offers. Instead, use a loop to display the following phrase 100 times: "I will never work for peanuts. Amigo".
In life, we often have to compromise and find some kind of middle ground. This makes it easier to get along with each other and solve problems. Let's find the middle ground—or to be exact, the middle number—of three ints. And what if all three numbers are the same? We can display any one of them: nobody will notice.
What could be simpler and more pleasant than adding numbers? Especially for a robot. Let's write a program where the user enters numbers from the keyboard, and then a special method sums up the entered numbers. And does so until the user gets bored. When the user is bored, he or she enters -1: the program will understand that it's time to wrap things up, and will then display the sum on the screen.
A name is a name
At the age of 80, Yurgona Dye fulfilled his dream and learned to program. But he encountered two problems: first, nobody would hire him as a junior developer because of his age; and second, people were afraid to associate with him because of his name. But Yurgona is now a programmer. He can write a method that will assign him any name and birth year. Can you?