Writing a code to simulate windspeed in intervals of 10s over an hour and print info to file named "wind.txt"
Decided to use a float random number generator to apply deviation to the average windspeed from range of gusts acquired from user.
Current errors are:
18 too few arguments to function `double rand_float(double, double)'
39 at this point in file
that compiles for me, there seems to be some other funky stuff going on(enter two values after average windspeed, enter only one after it asks for 2 gusts), however that should be easily fixable. PM me if you have any further questions, good luck !
I can't seem to understand why, especially why the interval is so wacky.
You should add some extra printing (or use a real debugger) to see what your variables contain.
Having said that, your rand_float() function is a bit suspicious.