Track C++
C++ track

Hexadecimal

An exercise from the C++ track
easy

About this exercise

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).

strings
math
View all solutions