WhY in C programming ,perc value show 0 as output? : <p>perc=(sum/total)*100;</p>

<p>i've been trying to put this in the code in cprogramming,but output for this part is showing 0,,,Why is this happening and what else should I do in these types of scenerios?</p>
