Answer to Question variable-9

x = 0. Remember that expression 1/3 yields 0. That value is coerced to type double, yielding 0.0.