Daniel, Isn't figuring this out on your own the point of a computer systems class?
I don't mean to be rude, but learning how to solve problems is what software development is all about. You will be asked to solve problems like this during interviews for a job and knowing how to do that is much more important I think that making sure you get the best possible answer. The interviewer wants to know if you can think, and how well you can apply your knowledge to solving problems. Asking a group like this is one way to solve this problem, but it won't help you learn what you really need to know. Robert On Wed, Nov 17, 2010 at 2:51 PM, Daniel <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Robert Casto www.robertcasto.com -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
