Well a function can only return one number, so you will have to pass in variables by reference (IE with the & sign). something like:i know but i didnt understand how i write functions called get_rate_drop_factor and fig_drops_min
That way when you return to main the values will have been set from inside the function.Code:// heres your function void get_rate_drop_factor(float *a, float *b) { } // heres how you call it int main() { float a, b; get_rate_drop_factor(&a, &b); }