October 2025
Intermediate to advanced
100 pages
2h 27m
English
| Puzzle 4 | Upside-Down Math |
| | fun main() { |
| | val less = 16777217L |
| | val more = less + 1f |
| | |
| | println("Less: " + less.toInt()) |
| | println("More: " + more.toInt()) |
| | } |
Guess the Output | |
|---|---|
|
|
Try to guess the output (or error) before moving to the next page. |
The program displays the following output:
| | Less: 16777217 |
| | More: 16777216 |
Read now
Unlock full access