Search:

Type: Posts; User: darking123

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,459

    Re: help java prog

    according to my post above.. where should i plase the formula 0.5*height*base is it to the Triangle class or the area?
  2. Replies
    7
    Views
    1,459

    Re: help java prog

    help me add those methods to my program??
    how will i add public void setBase(double x) and public void setHeight(double x) also the public Triangle(double h, double b); to my program??
  3. Replies
    7
    Views
    1,459

    Re: help java prog

    bump!!!!!!!!!!
  4. Replies
    7
    Views
    1,459

    Re: help java prog

    i do not know what will i do the the constructor and how will i add the other to my program
  5. Replies
    7
    Views
    1,459

    help java prog

    how will i do this??

    private double height;//Height
     private double base;//Base length
     public Triangle(double h, double b);//Constructor
     public void setHeight(double x);//Sets height
    ...
Results 1 to 5 of 5