Difficulty with BigInteger

前端 未结 4 1948
北海茫月
北海茫月 2021-01-15 05:18

I am trying to do Factorial with Recursion and BigIntegers but eclipse is complaining about the BigInteger. I know the program is supposed to be simple but it is giving me h

4条回答
  •  Happy的楠姐
    2021-01-15 05:55

    I believe you can't simply use arithmetic operator onto BigInteger object. Try to use their methods for arithmetic processes such as comparing, subtracting, multiplying etc.

    References are given here

提交回复
热议问题