Question: There is an error in the following C + + code: ) ( - x What is the type of this error? Choose the correct
There is an error in the following code:
What is the type of this error? Choose the correct answer.
a syntax
b logical
How to fix this error? Choose the correct answer.
a delete the semicolon ; after the if condition
b change the if condition
c use switch instead of if
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
