Finger Exercise cont.
¥Evaluate:
Ðint x = 7;
Ðif (x = 5) y = 0; else  y = 10;
Ðy
¥ Did you get the behavior that you expected?  Repeat the exercise with corrected syntax.
¥Evaluate:
Ðboolean switch1 = (x = 7);
Ðswitch1
¥ Repeat the exercise with corrected syntax.
Ð