You will be given two positive ints A and B.
Let C be the product of all integers between A and B, inclusive.
The number C has a unique representation of the form C = D * 10^E, where D and E are non-negative integers and the last digit of D
is non-zero.
Write a method that will return the value of C formatted as a String of the form "D * 10^E" (quotes for clarity only).
Substitute the actual values of D and E into the output. If D has more than 10 digits, only output the first five and the last five digits of D, and separate
them by three periods.
|