2010-07-29 04:51:35 +00:00
|
|
|
var eldest, grade;
|
|
|
|
grade = function(student) {
|
2010-09-27 19:21:45 +00:00
|
|
|
return student.excellentWork ? "A+" : (student.okayStuff ? (student.triedHard ? "B" : "B-") : "C");
|
2010-07-29 04:51:35 +00:00
|
|
|
};
|
|
|
|
eldest = 24 > 21 ? "Liz" : "Ike";
|