Write the definiction of a function named quadratic


Write the definition of a function named quadratic that receives three double parameters a , b , c . If the value of a is 0 then the function prints the message "no solution for a=0" and returns. If the value of "b squared" - 4ac is negative, then the code prints out the message "no real solutions" and returns. Otherwise the function prints out the largest solution to the quadratic equation.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write the definiction of a function named quadratic
Reference No:- TGS0118445

Expected delivery within 24 Hours