This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: End if End if End class Chapter 4, Review Questions 1-20, pages 156-160 & Exercise #2, pg. 160. 1. C 2. A 3. D 4. A 5. A 6. D 7. B 8. D 9. C 10.C 11.D 12.C 13.C 14.B 15.D 16. N 17.A 18.A 19.D 20.D Exercise 2 Start Main ( ) //declarations Num number Num square Num cube Number = 1 While number < = 10 Square = number * number Output number Output square Output cube number = number + 1 End while stop...
View Full Document
This note was uploaded on 04/27/2011 for the course CS 192 taught by Professor Aaa during the Spring '10 term at Grantham.
- Spring '10