Using java program to calculate...I'm stuck !

This is my project ... I stuck !!

Someone help me please....

Question:

Find a Java program that calculates:

For linear function

x- and y- intercepts

For quadratic function

x- and y- intercepts

vertex

The program should produce correct output when given the correct input. You need to take into account several cases. For example, a quadratic function with one vertex or no vertex or with one x-intercept or no x-intercept. Similarly, for a linear function, you program should produce correct output if a function has only x- or y-intercept.

Thanks...

Re: Using java program to calculate...I'm stuck !

Write code and do post if you are struck.