Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Problems in C language operation
Problems in C language operation
Firstly, it is stipulated that the decimal point will be kept as an integer in the addition result of integer and floating point.

The result of 3/2*(4-2) is the integer 2, and 5.0 adds up to 7.

This is automatically set by the language or tool, and there is no need to delve into it. You only need to know this when you change it, so that when you write it, you can meet your predetermined results.

Please feel free to give it to me, I think everyone will understand!