Check if given four points form a square or not?

Read the problem statement here:

GeeksForGeeks: https://practice.geeksforgeeks.org/problems/is-square/0

My Solution in C++:







Comments