1.0 divided by shaping
If your 0.5 is the answer in the book, then the answer given in the book is wrong.

The correct value of c3 should be 0.

The reason is simple, because C3 is cosmetic. Does not contain decimal parts.

However, the value of 1.0/ c2 * c 1 is indeed 0.5. Although c 1 and c2 are integers, the divisor 1.0 is indeed a floating-point type. So the whole result is floating point.

But when this floating-point type is assigned to c3, it will be converted into plastic and the decimal part will be discarded.

So the correct answer is 0.