[ad_1]
Dividing int by int yields an int. Dividing float by int yields a float.
For int, use %d. For float, use %f. If you mix them up, you get junk.
2
[ad_2]
solved How this code is working actually? [closed]
[ad_1]
Dividing int by int yields an int. Dividing float by int yields a float.
For int, use %d. For float, use %f. If you mix them up, you get junk.
2
[ad_2]
solved How this code is working actually? [closed]