I am facing problem to generate random number in real value. Let us consider l=0.045, so i need the random value between 0.0025 to 0.040. Can anybody help me how to write down programming code in c++ to determine real value generation of random number?