0
I want to pass an average to a function. When I use in the main printf with %d I get the average but if I use %f I got 0.Why? Tk
Passing average to a function in C
4 Answers
0
Hello Bennett
Thanks your answer is very thorough and useful
I will check the code ..
Though I did try to use
Float average ( float ave) on as you suggested ..but I still get errors ...
0
actually ..sorry it does work on this compiler ...i must have mistyped when I tried in the other compiler
Thanks ! đ
0
thanks this is super useful and much appreciated
âșïž