Infoblox Interview Question

Divisibility question (based on if-else)