数字を入力してください - 1

「やあ、アミーゴ。よく頑張っていますね。ここで新しい演習を行います。キーボードからデータを受け取り、そのデータを使用するテキストを表示するプログラムを作成してください。」

1
タスク
Java Syntax,  レベル 3レッスン 8
ロック未解除
More conversions
Let's calculate the number of full feet in a certain number of inches. We'll create a special method (getFeetFromInches) to do this. Any remainder should be rounded. Thus, if we pass 243 inches to our method, then we will get only 20 feet, not 20.25.
3
タスク
Java Syntax,  レベル 3レッスン 8
ロック未解除
Don't think about seconds…
If you stare at the second hand for a long time, you can feel how quickly and irretrievably time is slipping away.. Enough gawking at the second hand. Instead, let's figure out a task involving seconds.
6
タスク
Java Syntax,  レベル 3レッスン 8
ロック未解除
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.