"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."
Using a loop to display the following phrase one hundred times: "I will never work for peanuts. Amigo" Display each value on a new line.
Somewhere in the middle
Use the keyboard to enter three numbers, and then display the middle number. In other words, not the largest and not the smallest. If all the numbers are equal, display any one of them.
Let's write a program where we need to enter numbers from the keyboard, and as soon as -1 is entered, then we display the sum of all the entered numbers on the screen and exit the program. -1 should be included in the sum. Hint: One of the solutions to this problem uses the following construct: whi