A simple Java program to determine a number's divisibility by two without the use of unintuitive operations (%
).
IsEven.java
is the primary program. Config.java
is used to scale IsEven.java
's range. This allows for the a trade-off between range, size and time. IsEven.java
has been pre-configured to cover the 7291 best numbers.
The workspace contains two folders by default, where:
src
: the folder to maintain sourceslib
: the folder to maintain dependencies
Meanwhile, the compiled output files will be generated in the bin
folder by default.
If you want to customize the folder structure, open
.vscode/settings.json
and update the related settings there.
The JAVA PROJECTS
view allows you to manage your dependencies. More details can be found here.