Track C++
C++ track

Queen Attack

An exercise from the C++ track
medium

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.

control flow loops
logic
View all solutions