Question: 3.9. Ey hand, write a VIA function named random, exact that generates a very predise random number which rounds to a particular rounded number of
3.9. Ey hand, write a VIA function named random, exact that generates a very predise random number which rounds to a particular rounded number of your choice (have one in mind, and melte rour flanction with that one in mind, and returns the very precise random mumber to the ferel eell frem maich the fanction rantom exact is called. So, for example, the VBA function might generate the very precise number 2.48 TBI 2 a the rounded number pu have in mind is 2.5. The variable low _poss is to represent the lowest ponsible ract wille that round to that particular rounded number. The variable wis to represent the width of the range al the exact walues that round to that particular rounded number. The values of low poss and we are uner probletid. You dont act with have is provide the values of low poss and w, because this code is written by hand, and will not be excitted.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
