Make a program that will ask for values of a quadratic equation (ax2+bx+c).

the program must determine the roots of the equation using the quadratic equation determinants to distinguish if the roots are imaginary no. or real no.

quadratic eq.

x= -b sqrt b2-4ac/2a

This is homework isn't it? Did you try to do it yourself first?

kind regards,

Jos (mod)

ps. We don't do other people's homework here; no matter whether you call it a

'challenge' because it isn't. Read the posting guidelines under the 'help' link near

the top right of this page.