Given three numbers x, y, z and a Boolean variable strict, if strict is False return True if x <= y <= z, otherwise return False. If strict is true, return True if x < y < z, otherwise return False.

Complete the following file:

prog.cpp

#include <iostream> using namespace std; bool strict(double x, double y, double z, bool strict) {
}