Consider a quadratic expression, say x2 – x ‐2. Describing where this quadratic is positive, involves describing a set of numbers that are either less than the smaller root (which is ‐1) or greater than the larger root (which is +2). Write a C++ Boolean expression that is true when this formula has positive values.
please give me solution of above task .
using if-else statement in c++