The second task in the "Integer Type Conversions" series doesn't seem much different from the previous one at first glance. This is by design. This series was specifically created to make you a "conversion veteran" and simultaneously introduce your brain to type conversion rules in Java. Arrange the cast operators correctly to get the required result: d = 3.765. The operators are in the conditions.
Task No. 2 about integer type conversions
You must be signed in to leave a comment
This page doesn't have any comments yet