Chapter 3 Review Exercise Solutions
a. There are no parentheses around the conditional expression, and the word then is not
part of an if statement.
b. Unbalanced parentheses around condition. To correct, use: if(1+x>pow(x,sqrt(2)y=y+
Chapter 1 Review Exercise Solutions
Programs are sequences of instructions and decisions that a computer carries out to
achieve a task. Programming means designing and implementing the instructions, as
opposed to using their results. Using a program