Task

Write a function to detect a   divide by zero error   without checking if the denominator is zero.




def div_check (int x, int y)
	try
		/ x y
		return false
	catch divzeroerror
		return true
	end try
end