I am trying to solve:
int total=0, number=0; float percentage=0.0; percentage=(number/total)*100; printf(\"%.2f\", percentage);
If the val
I routinely multiply by 1.0 if I want floating point, it's easier than remembering the rules.