“สวัสดีทหาร!”

"สวัสดี กัปตันกระรอกครับ!"

"ต่อไปนี้คือแบบฝึกหัดบางส่วนเพื่อยกระดับทักษะของคุณและเสริมสร้างความรู้"

2
งาน
Java Syntax,  ระดับบทเรียน
ล็อค
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
งาน
Java Syntax,  ระดับบทเรียน
ล็อค
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