The following program segment is designed to
report which of the positive integers X and Y is
a divisor of the other. Is the program segment
correct? Explain your answer.
if (X
if (Y % X == 0):
print('X is Divisor of Y')
else if (X % Y == 0):
print('Y is Divisor of X')
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here