Need guidance on coming up with a c program with a function


Need guidance on coming up with a C program with a function named randomBetween that returns a random floating point number between the two floating point limits you give it as arguments (lower limit first). In the final version, there may be no printf statements in randomBetween; your main function should call it (randomBetween) and print the result. Obviously when you're debugging you can print whereever you want; but I want to make sure you define randomBetween to return a (floating point) value so have main do the final printing, not randomBetween. My printout looks like so:

Enter lower and upper limits separated by a comma: -1.0, +2.0

Your random number is 1.070003

Solution Preview :

Prepared by a verified Expert
Business Management: Need guidance on coming up with a c program with a function
Reference No:- TGS02944604

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)