doesn't work . that ELSE part is not reversing the string. and I was wondering how I can use a void , parameterless function that is also recursive without keeping ro prompt the user to enter a...
Type: Posts; User: bgwilf
doesn't work . that ELSE part is not reversing the string. and I was wondering how I can use a void , parameterless function that is also recursive without keeping ro prompt the user to enter a...
I ^:)^need help to write a parameterless, void and recursive method used to reverse a string of character. Can anybody help me with the last part?
This is the code I been able to write so far :
...
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??
I don't get the right output when I run it. can somebody help me?
import java.util.*;
import java.io.*;
public class Labex06
{
public static void main(String []args)