HCCS Quadratic Equation Solver using OOP Project – Description
a. Top of each Program you have your Name : Indicated that this is your work. (1 point )
b. Next line is indicating the date you are submitting your program. (1 point )
c. Next line you will write a brief explanation for what this program intend to do. (1 point )
d. Use of sufficient comments to clarify use of syntax. (1 point )
e. Use of meaningful variable (identifier) in your program (1 point )
f. Separate input, process, and output instructions by a comment (In-Process-Out) (1 point )
g. Working program without any error (3 points )
h. Turn in on time (1 point deducted for each day late submission) (1 point )
Find the roots of quadratic equation, using OOP. Define a class named “QuadraticEquation”
Having three double variables a, b, and c that are coefficient of quadratic equation.
Have a parameterized constructor. Mutators and accessors for a, b, and c.
A function that finds discriminant, and two functions to get two real roots.
If discriminant is greater than 0, it has two roots and print them.
If discriminant is equal to 0, that has one root, otherwise no real root.
The post HCCS Quadratic Equation Solver using OOP Project first appeared on .