Maybe this helps others read it. I've learnt this from someone ;).
You are doing integer division instead of floating point division
1) Change this:
printf("%f",...
Type: Posts; User: claudiu
Maybe this helps others read it. I've learnt this from someone ;).
You are doing integer division instead of floating point division
1) Change this:
printf("%f",...
%f and %lf