public boolean isBidAccepted(float bidInDollars){
    if(bidInDollars >= priceInDollars){
    System.out.println ("Seller accepts the bid o f "+ bidInDollars + "dollars \n");
    return true;
    }
    else {
    System.out.println ("Seller rejects the bid o f "+ bidInDollars + "dollars \n");
    return false;
    }
  }