Which of the following is an example of a logic error?
A. Missing quotation marks around a string literal
B. Printing without adjusting margins
C. Receiving unexpected results from a program
D. Trying to perform an invalid calculation

Respuesta :

Answer:

Receiving unexpected results from a program

Explanation:

Logic errors are due to the program not producing a desired result.

Answer:

C. Receiving unexpected results from a program

Explanation:

For example, assigning a value to the wrong variable may cause a series of unexpected program errors. Multiplying two numbers instead of adding them together may also produce unwanted results.