Answer:
Logic Error
Step-by-step explanation:
I'll answer the question with the following code segment.
Program to print the smallest of two integers (written in Python)
num1 = int(input("Num 1: "))
num2 = int(input("Num 2: "))
if num1 < num2:
print(num2)
else:
print(num1)
The above program contains logic error and instead will display the largest of the two integers
The correct logic is
if num1 < num2:
print(num1)
else:
print(num2)
However, the program will run successfully without errors
Such errors are called logic errors