Beginning programmer...I keep getting a missing return value error on the following block of code.
/**
* Calculates the season charge based on the size of the lawn
*/
public String calculateCost()
{
double cost;
double area = calculateArea()...
In trying to calculate a "cost" based on the area size, am getting a variable error after calling the calculate area method...any ideas on what is wrong here?
/**
* Method to calculate the area of the lawn
*/
public double calculateArea()
{
double area =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.