ok thanks! This is what I got and I actually think that it works
public static String convert(String num,int b)
{
int k= num.length();
...
Type: Posts; User: bgwilf
ok thanks! This is what I got and I actually think that it works
public static String convert(String num,int b)
{
int k= num.length();
...
At this point it doesn't matter that it is simpler. I just need an Iterative way to implement any base conversion to a base 10.
USING ITERATION PLZ!!!
Can Anyone suggest me a simpler algorithm for converting any base number to base 10??