Write a class that represents triangle named Triangle, the class must have the following members:
private double height; //Height
private double base;//Base length
public Triangle(double h, double b);//Constructor
public void setHeight(double x);//Sets height
public double getHeight();//Gets height
public void setBase(double x);//Sets base length
public double getBase();//Gets base length
public double getArea();//Returns the area of the triangle