-8

it is possible to assign that big number in java? i need to make a calculation of 39 digits value. could any help? Thanks

Problem: Consider the following composite number: 340282367237851113557325445936183246849 Write a Java method to find two numbers whose product is the above number.

1 Answers1

4

I guess you need to check out the BigInteger of the java API. That might be able to store your results of those much big numbers. Read the documentation,

http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html

Afzaal Ahmad Zeeshan
  • 15,669
  • 12
  • 55
  • 103