Write a function that checks whether two points with coordinates x1, y1 and x2, y2 are in the same quadrant. The given coordinates will not be on the x- or y-axis.

Complete the following file:

prog.cpp

#include <iostream> using namespace std; bool coordinatesInSameQuadrant(double x1, double y1, double x2, double y2) {
}