Could you please show us what you have done so far...
There's not really much to it as long as you know basic operators in C++ and input/output stream
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include<iostream>
#include<cmath>
usingnamespace std;
int main()
{
// Declare variables
// Ask user to input values for a, b, and c
// Read these variables
// Do something with them
// Output the two solution
return 0;
}