This project contains Java code that can be compiled and executed easily.
You can run the code directly on OnlineGDB, a free online Java compiler and debugger.
Simply copy the contents of Main.java and paste it into OnlineGDB to see it in action.
- Open OnlineGDB Java Compiler.
- Replace the default code with the contents of
Main.javafrom this repository. - Click "Run" to execute the program.
The code has been tested and runs well on OnlineGDB.