So,

For our first lab in computer science we need to come up with a program that solves ALL values inputted into the quadratic equation. (imaginary, infinite etc). I have been gone for most classes thus far due to sports... and am really behind. Can anyone satisfy this and then explain it? I'mreally lost. this is wht i have so far

include <FPT.h>

int main()

{

double a,b,c,x1,x2;

a=inD() ; b=inD() ; c=inD();

if (a==0 && b==0 && c==0)

{

outS ("There are infinite solutions");

else {