+ 9
Because 5 and 2 are integer literals. It will calculate 5/2 first, which is 2 (integer division). Then it will assign the result to the float variable and the result will be 2.0f. To calculate with floats, you can use "float pi = 5.0/2" for example. (Also it's probably not a good idea to name a variable "pi" if its value doesn't even come close to the value you'd expect, 3.14...)



