Solution - Base conversion
2,299
Step-by-step explanation
1. Parse base conversion function input
Identify the source number, source base, and target base before converting through base 10.
2. Convert source to base 10
Expand each digit by place value:
+
+ . This gives in base 10.
3. Conclude target-base conversion
Repeatedly divide by , collect remainders, and read them in reverse to get .
Why learn this
Learn more with Tiger
Base conversion is foundational for computer science, digital systems, and number theory.