Todd Mahoney 8aea0a208d removing public access modifiers from Hexadecimal.java | 6 yıl önce | |
---|---|---|
.. | ||
.meta/src/reference/java | 6 yıl önce | |
src | 7 yıl önce | |
README.md | 7 yıl önce | |
build.gradle | 7 yıl önce |
Convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).
On the web we use hexadecimal to represent colors, e.g. green: 008000, teal: 008080, navy: 000080).
The program should handle invalid hexadecimal strings.
You can run all the tests for an exercise by entering
$ gradle test
in your terminal.
All of Computer Science http://www.wolframalpha.com/examples/NumberBases.html
It's possible to submit an incomplete solution so you can see how others have completed the exercise.