当除数为0时我却得不到“cannot divide by zero.”

要求如下:

img


我:

img


当除数为0时我却得不到“cannot divide by zero.”,不知道为什么😭

if(b==0)