The product of numbers from a to b

Report a typo

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
2

Sample Output 1:

1

Sample Input 2:

100
105

Sample Output 2:

11035502400
Write a program in Kotlin
fun main() {
// put your code here
}
___

Create a free account to access the full topic