Write a program that prints the product of all the integer numbers from a to b (a < b).
Include a and exclude b from your calculation.
The result can be large, so you should use the Long type.
Write a program that prints the product of all the integer numbers from a to b (a < b).
Include a and exclude b from your calculation.
The result can be large, so you should use the Long type.
Sample Input 1:
1
2Sample Output 1:
1Sample Input 2:
100
105Sample Output 2:
11035502400Create a free account to access the full topic