A good answer might be:No. The programmer probably wants the three statements after the else to be part of a false block, but has not used braces to show this. | ||
Only One Statement per BranchThe false block was not put inside braces:
Our human-friendly indenting shows what we want, but the compiler will merely look for braces. It will see the equivalent of:
| ||
QUESTION 8:How would you fix the above program section? Click Here after you have answered the question |