Home > Back-end >  For help
For help

Time:10-20

Bosses, I am a novice, please comment: strives for the maximum number of three
Run out after input sequence number three, such as: enter 1 2 3 when maximum number is 2, not the order of the three running correctly, excuse me that there is a problem, thank you

CodePudding user response:

https://bbs.bccn.net/viewthread.php? Tid=498830 & amp; Extra=& amp; Page=1

CodePudding user response:

Lack of logic, enumerated only when X> Y> I can identify correctly.

CodePudding user response:

Statement about the function, under the namespace declaration, not in the int main statement

CodePudding user response:

The second try else so change
The else
If (i> Y)
Max=I;
The else
Max=y;

CodePudding user response:

The
references 4 floor? Victor.?? Response:
the second try else so change
The else
If (i> Y)
Max=I;
The else
Max=y;

Thank you very much!!!!!!

CodePudding user response:

reference cool99781 reply: 3/f
statement function, under the namespace declaration, not in the int main statement

Thank you very much!!!!!!

CodePudding user response:

refer to the second floor the wise know already should good karma response:
logic judgment, illustrate only when X> Y> I can sure correctly.

Thank you very much!!!!!!
  • Related