Home > other >  O bosses the small white.
O bosses the small white.

Time:02-04

Why would the results into a floating-point type? How to change?

CodePudding user response:

The operator/computing results for forever for floating point types

CodePudding user response:

Because you list nums index for floating point Numbers, change the way you can use the nums [int ((size + 1)/2)]

CodePudding user response:

Similarly middle function inside the other so also need to use the int () the index by floating-point integer instead
  • Related