i am not able to understand the problem
Conversion any to any not able to understand the problem
hi @shivamraj53.sr,
first u r given base system of the original no in eg33 is written in base 8 system
u need to convert that to base 2 system
33 in base 8 means 27 in base 10
and 27 in base 2 is 11011 thats what is given
to do this question read about how different base system works and how to convert them then sit to code its easy
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
hi @shivamraj53.sr
The Logic is to First convert the corresponding given source base to decimal and then convert the decimal base to Given destination base.
In short the Question is Any Base to Decimal and then Decimal to Any Base.
refer this code -->
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.