DEV Community

Discussion on: Java math challenge

Collapse
 
awwsmm profile image
Andrew (he/him)

Ah! You're right. 100105, then. (I also mistakenly added a .0 and lost a power of 10.)

By the way, if you put java after the backticks on your code box, it applies Java syntax highlighting!

This:

will produce

System.out.println(1 + 2 == 3);

...while this:

will produce

System.out.println(1 + 2 == 3);

This works with JavaScript (js), Python (python), and lots of other languages, as well.

Thread Thread
 
devit951 profile image
Ildarov

Wow, thank you! I didn't know it.