You should have gotten a strange answer to the last question! Why did your program produce such an answer? Hint: Java uses a 32-bit two's complement representation for type int. Given this,
Test the program again and make sure it works. A person who has lived 68 years, 6 months, and 12 days is 2,161,036,800 seconds old.
                            Quotient      Remainder
    1878 divided by 8 -->     234             6
     234 divided by 8 -->      29             2
      29 divided by 8 -->       3             5
       3 divided by 8 -->       0             3
The number in the new base is the sequence of remainders in reverse
order (the last one computed goes first; the first one goes last). In this
example, the base 8 answer is 3526 (that is 187810 = 35268).  
In this
exercise you will use this algorithm to write a program that converts a 
base 10 number
to a 4-digit number in another base (you don't know enough programming yet to
be able to convert any size number).  The base 10 number and the new base (2 - 9) 
will be input to the program.  The start of the program is in the file
BaseConvert.java.  Open the file in Mozilla,
save it to your lab5 subdirectory, then open it in emacs.  Modify
the program one step at a time as follows: