Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Question 4 : Answer the following Write a Java program for solving a quadratic equation a * + box + e = O using the following USING th wing header...
I was asked to find the roots of the equation , i know how to do it , bu here he asks to solve it using methods
Question 4 : Answer the followingWrite a Java program for solving a quadratic equation a * + box + e = O using the followingUSING thwing headermethod and retum number of solutions .public static int solveEquation ( int a , int b , int ( )Write a Java code that prompts the user to enter values for the coefficients a b , and c . The coefficients n ,its 2 , D , allcoefficientsCare Dithe method soCare passed to the method solve Equation . Then . the method returns the number of roots and displays inDis and displays the6 + 6 2 - 1 0 0and0 - VEZ - 4 0 0Answer