Depth understanding of IT / Internet industry and jobs, please refer to the general IT / Internet job recruitment program (the latest full version of Kong) .
Depth understanding of career advancement and learning routes, see the optimal path for career advancement courses and study guides (the latest full-stack version) .
Content navigation :
- 1, title
- 2, analysis
- 3, code implementation
- 4, operating results
1, title
Using nested conditional operator to complete this question: academic> = 90 points represented by students A, B is represented by between 60-89 minutes is represented by C 60 points or less.
2, analysis
(A> b) a:? B which is an example of the basic conditions for the operators.
3, the sample code
/*
作者:AT阿宝哥
日期:2016年9月18日
愿景:参考官方资料,做最好的课程,成就更多职业人!
邮箱:[email protected]
CSDN:https://blog.csdn.net/goldentec
简书:https://www.jianshu