I need to write a Java function that will convert an arbitrary base to
a decimal. The number needs to be converted into an array of
characters. It needs to use uppercase letters of the alphabet for
input if required by the value of base. Needs to have a void function
to convert it to the proper value of type array of int before
converting it to a decimal.

example given by book:

const int base = 6;
const int numDigits = 4;
int number [numDigits];

The program must be modified with a different base by changing only
the constant base, and the number of digits needs to be modified by
changing numDigits.

This is for a computer systems class , and any help will be greatly
appreciated.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to