The following program illustrates using BigInteger and BigDecimal. Replace the lines with two assignment statements. As indicated
Question:
The following program illustrates using BigInteger and BigDecimal. Replace the lines with two assignment statements. As indicated by the output, the first assignment statement divides the original number by 3.0 and uses 30 significant digits in displaying the result. The second assignment statement divides the original number by 3.0 and uses 4 fractional digits in displaying the result.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: