Home > Back-end >  For intermediate values
For intermediate values

Time:10-27

A freshman, I feel my yes ah, the program

CodePudding user response:

Do you have size is this light, such as no comparison, so the q, p, w, e, r assignment
For example,
If (a> B) q=a, w=b;
If (aWhat is that if a==b, p? What is w? P and w will not be assigned, so the back of the judge must not
So let's change
If (a> Q=a=b), w=b;
If (a
At the back of the judgment and so on change!

CodePudding user response:

I tried, can the
thank you

CodePudding user response:

Do the sorting, to intermediate values can be ~
Instead of using these variables, is not very clear

CodePudding user response:

reference 3 building self-confidence boy reply:
do the sorting, to intermediate values can be ~
With these variables, but not very clear ~

How do you say there is a better way?

CodePudding user response:

reference 4 floor weixin_51678094 response:
Quote: reference 3 building self-confidence boy reply:
do the sorting, to intermediate values can be ~
With these variables, but not very clear ~

How do you say there is a better way?

Sorting, and then take the middle value, is the a, b, c, then the value of b is the middle value,

For the comparison of floating point Numbers, have their own special comparative method, not like integer comparison ~

CodePudding user response:

reference 5 building self-confidence boy reply:
Quote: refer to 4th floor weixin_51678094 response:
Quote: refer to the third floor confident boy reply:
do the sorting, to intermediate values can be ~
With these variables, but not very clear ~

How do you say there is a better way?

Sorting, and then take the middle value, is the a, b, c, then the value of b is the middle value,

For the comparison of floating point Numbers, have their own special comparative method, not like integer comparison ~

Oh good good
  • Related