











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Lecture 5
Key Rule :Choose among alternative courses of actions
Single Selection Statement : if
Double Selection Statement : if/else
: switch
false true print “Failed” print “Passed” grade >= 60 If/else Performs different actions if condition true/false