एक संख्या दर्ज करें - 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.