|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Problems
Problem 2.1:
How many test conditions can an if-statement check?
[Solution]
Problem 2.2:
When should you use an else statement?
[Solution]
Problem 2.3:
When are braces necessary for if/else-statements?
[Solution]
Problem 2.4:
What does the default keyword in a switch-statement tell the program?
[Solution]
Problem 2.5:
When would you use a while-loop instead of a for-loop?
[Solution]
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contact Us | Privacy Policy | Terms and Conditions | About
©2006 SparkNotes LLC, All Rights Reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||