🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track PHP
PHP track

Queen Attack

An exercise from the PHP track
easy

About this exercise

Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.

integers
View all solutions