A program that converts a given number from one numeral system to another. Supports radixes 1 to 36 and fractional numbers.
This program requires Java to compile and run.
- Download this repository and unzip the .zip file in your desired location.
- Using the command line, navigate to \Numeral-System-Converter-master\src\converter.
- Compile the program using the command
javac Main.java
.
After Numeral System Converter has been compiled, it can be run from the command line by navigating to \Numeral-System-Converter-master\src and using the command java converter.Main
.
Once the program starts, it will wait for three lines of input. The first line should consist of an integer representing the current radix of the number to be converted. The second line should contain the number to be converted, which may consist of any alphanumeric characters available within the given radix. The third line should be another single integer representing the desired radix the number should be converted to.
The program will then print the converted number.
Author: Kate Jordan - sinnenicht
This program is based on the Numeral System Converter project on Jet Brains Academy.
This project is licensed under the GNU General Public License v3.0. See the LICENSE for details.