CoinDCX Interview Question

get random number value between ranges