February 2022
Intermediate to advanced
140 pages
2h 28m
English
| Puzzle 1 | Three and a Bit |
| | fn main() { |
| | const THREE_AND_A_BIT : f32 = 3.4028236; |
| | println!("{}", THREE_AND_A_BIT); |
| | } |
Guess the Output | |
|---|---|
|
|
Try to guess what the output is before moving to the next page. |
The program will display the following output:
| | 3.4028237 |
You might have expected the program to print 3.4028236. Surprisingly, the result is off by 0.0000001—you set a value of 3.4028236, yet the result ...
Read now
Unlock full access