15 is an int type, and 10 is also an int type, so the c obtained by division is also an int type, and the division of the int type only takes integers.
C =1obtained at this time;
You change the C-suit of int type into double type, and this conversion is called up conversion, so