Q. Define logic, Syntax and Run-time errors? Use a example to prove your answer.
They are the result of code that is correct with its syntax, but does not complete the task required.
Eg. 1+2+3+4 should = 10, but 11 is being output.
Syntax refers to the language of the code, a...