At this level, you have gotten to know the double type and learned what operations can be performed on it. You also learned how to work with data input.
To consolidate your knowledge, you need to solve tasks, of course. And a bit of "reading at home" won't hurt either. Here are some lessons to help you delve deeper into the topics we covered.
As you already know, this class makes life a little easier for Java developers who get tripped up by readers. It can do a lot, and you've already managed to use it a few times. If you haven't already done so, read the article entitled "The Scanner class", study the examples, and try to use the class yourself.
Operations on numbers in Java
Programming involves lots of operations on numbers, so we'll consider the most important of them, including with examples. How do I operate on numbers in Java? There are various ways: There are ordinary arithmetic operations, and there are somewhat less familiar logical operations. And there are also bitwise operations, which are completely exotic for non-IT people. It's time to dive into this material as well as operator precedence in our favorite language.
GO TO FULL VERSION