"Xin chào, quân nhân!"

"Xin chào, Đội trưởng Squirrels, thưa ngài!"

"Đây là một số bài tập để nâng cao kỹ năng của bạn và củng cố kiến ​​thức."

2
Nhiệm vụ
Java Syntax,  mức độbài học
Đã khóa
Display numbers in reverse order
You know that you can solve problems in many ways, right? Yes, of course you know that. However, in this particular task we'll ask you to recall the for loop and use it to perform some manipulations. Here's what you need to do: enter 10 numbers from the keyboard, put them in a list, and then display them in reverse order.
10
Nhiệm vụ
Java Syntax,  mức độbài học
Đã khóa
Shuffled just in time
Games with lists are the best! Does that sound like an advertisement? Perhaps the best advertisement for a programming language is its frequent use. Let's advertise lists as we complete this task: enter numbers m and n, enter n strings and put them in a list. Then perform a simple manipulation: move the first m strings to the end of the list