Conditional Operators and print statement
print "What was your grade? "; $grade = <STDIN>; print $grade > 60 ? "Passed.\n" : "Failed.\n";