ป้อนตัวเลข - 1

"สวัสดี Amigo คุณทำได้ดีมาก นี่คือแบบฝึกหัดใหม่สำหรับคุณ: เขียนโปรแกรมที่รับข้อมูลบางส่วนจากแป้นพิมพ์และแสดงข้อความที่ใช้ข้อมูลนั้น:"

6
งาน
Java Syntax,  ระดับบทเรียน
ล็อค
Plan to conquer the world
"First, I'll complete the tasks, then I'm going to make a lot of money. Then I'll take over the world". We found this written in a modest young man's personal journal. Let's imagine he knows exactly when this will happen: we'll use the keyboard to enter a number (the number of years it will take to achieve his goal) and the name of the hopeful conqueror. Then we'll display an interesting phrase.
3
งาน
Java Syntax,  ระดับบทเรียน
ล็อค
Predictions
Some predictions are quite logical. For example, if you become a real programmer, then you'll have a high salary after a while. You don't have to be Nostradamus to come up with that. Let's code up a program where we indicate a name and two numbers (a salary and a number of years). Then we'll display a phrase: " will receive in years".
1
งาน
Java Syntax,  ระดับบทเรียน
ล็อค
The humble programmer
Dreams about employment as a programmer can't be contained! This is no surprise: The more tasks you finish, the closer you are to achieving your dreams. Let's take another step forward by tackling a task involving humility. Use the keyboard to enter the name of a person, and then display his or her salary. The details are in the task conditions.