Psychology, asked by samhita71, 28 days ago

To find the product of values in a given range.

Answers

Answered by prateekpandey1603201
0

Answer:

Cumulative product of digits of all numbers in the given range

1.Input: L = 2, R = 5.

2.Output: 14.

3.Explanation: 2 * 3 * 4 * 5 = 120.

4.Input: L = 11, R = 15.

5 Output: 120.

6.Explanation: (1*1) * (1*2) * (1*3) * (1*4) * (1*5) = 1 * 2 * 3 * 4 * 5 = 120

Similar questions