Switch (a) and case b in c language, can a and b both be integers? Can it be true? Case 1.0: like this?
Not only plastic can be used here, but also character type can be used, which is not as good as case 'a' case 'b', but real numbers can't. I don't know the specific reason. It seems that there are many ways to express the same number of real numbers, such as 1.0, which can be expressed by plastic 1 or 1.00. If the floating-point type can,