90.4k views
5 votes
Which of the following is an example of a logic error in programming?

A: Not using quotation marks and parentheses to print a string literal

B: Printing an inaccurate statement, like print("Dogs have wings.")

C: Trying to perform an impossible task, like 5 / 0

D:Using camelcase when a variable name contains two or more words

1 Answer

13 votes

Answer:

It's C

Step-by-step explanation:

User Timothy Klim
by
5.3k points