#include using namespace std; int main() { int a, b, c; int x, y, xmin, ymin; cout << "Enter values for a, b, c:" << endl; cin >> a >> b >> c; x = -5; xmin = x; ymin = (a * x * x) + (b * x) + c; while (x < 5) { y = (a * x * x) + (b * x) + c; cout << x << ", " << y << endl; if (y < ymin) { ymin = y; xmin = x; } x = x + 1; } cout << "Minimum y: " << ymin << endl; cout << "When x is: " << xmin << endl; return (0); }