Looking to make a really simple random number generator method in C. The numbers should be between 0 and 24 and can be for example 14.5f.
Any help would be great, thanks
Have a look at linear congruential generators, they are quite simple to implement even with my inferior math knowledge.
Looks like I misunderstood the original question, I thought you wanted to roll your own generator (for homework, fun etc.)