🌈 搜索
📅  最后修改于: 2022-03-11 14:59:49.149000             🧑  作者: Mango
String year = credits < 30 ? "freshman" : credits <= 59 ? "sophomore" : credits <= 89 ? "junior" : "senior";