Originally Posted by whiteflags Try dividing decimals instead of integers to get an answer. In C, there is a difference: 1 / 3 in integer division is 0. Yea it worked, but the volume of a cylinder does not include .333333. But if it did, inputing .3333333 instead of (1/3) works, so thanks.
View Tag Cloud