Java uses the nesting of conditional operators to complete the division of academic achievement
•
Java
Title: use the nesting of conditional operators to complete this question: students with academic achievement > = 90 points are represented by a, those between 60-89 points are represented by B, and those below 60 points are represented by C.
Program analysis: program analysis: (a > b)? a: B this is a basic example of conditional operators.
Programming:
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码