

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!


Spring 2002 CS 403 Class Notes Page 1
Spring 2002 CS 403 Class Notes (^) Page 2
Spring 2002 CS 403 Class Notes (^) Page 3
Spring 2002 CS 403 Class Notes Page 4
Spring 2002 CS 403 Class Notes (^) Page 5
Spring 2002 CS 403 Class Notes (^) Page 6
Spring 2002 CS 403 Class Notes Page 7
void main(){ int x, y, z; (1) cin >> x; (2) if x > 0 (3) y = 3; (4) else y = 4; (5) cout << y << endl; (6) }
Spring 2002 CS 403 Class Notes (^) Page 8
Spring 2002 CS 403 Class Notes (^) Page 9
void main(){ int x, y, z; (1) cin >> x; (2) if x > 0 (3) y = 3; (4) else y = 4; (5) cout << y << endl; (6) }
Spring 2002 CS 403 Class Notes Page 10
void main(){ int x, y, z; (1) cin >> x; (2) if x > 0 (3) z = 3; (4) else z = 4; (5) cout << y << endl; (6) }
Spring 2002 CS 403 Class Notes (^) Page 11
void main(){ int x, y, z; (1) cin >> x; (2) if x > 0 (3) z = 3; (4) else y = 4; (5) cout << y << endl; (6) }
Spring 2002 CS 403 Class Notes (^) Page 12
void main(){ int x, y, z; (1) cin >> x; (2) if x > 0 (3) y = 3; (4) else z = 3; (5) if x > 0 (6) cout << y << endl; (7) }