313,526 views
35 votes
35 votes
While running a program, Sasha enters a negative number when a positive value was expected. Which type of error is likely to occur?

A. syntax
B. run-time
C. logic
D. interpreter

User Sharan Rajendran
by
2.7k points

1 Answer

24 votes
24 votes

It is a logical error or a bug.

User Laurent Gabiot
by
2.2k points