thank you sir :) it worked. but i did not check if the number exceeds 10 digits, i just mod it to 1000000000 everytime i double it, because i think checking the number using if-else statement will...
Type: Posts; User: dicdic
thank you sir :) it worked. but i did not check if the number exceeds 10 digits, i just mod it to 1000000000 everytime i double it, because i think checking the number using if-else statement will...
hi everyone :)
i'm writing a program that generates 2 to the power of 7830457.
well, i'm not sure if BigInteger class can support this,
here is my code using BigInteger
BigInteger base =...