How can i create function in C , which would generate random number }(type double) between set arguments? In lot of languagues its simply just
function randomnumber(min, max) {
return Math.random() * (max - min + 1) + min;
}
but i fail to find any good solution for type double in c.