Solution - Base conversion
255
Step-by-step explanation
1. Parse source and target bases
Read the input value and bases: from base to base .
2. Convert to base 10
Expand the number by place values in base 10:
+ = .
3. Convert to target base
Convert from base 10 into base to get .
Why learn this
Learn more with Tiger
Base conversion is foundational for computer science, digital systems, and number theory.