Search:

Type: Posts; User: JoshKesner

Search: Search took 0.07 seconds.

  1. Thread: Java Logic

    by JoshKesner
    Replies
    6
    Views
    1,315

    Re: Java Logic

    ive gotten this far


    public boolean makeBricks(int small, int big, int goal) {
    if ((big & small)> 0){
    if (goal%(big*5)<=small){
    return true;
    }else{
    return false;
    }
  2. Thread: Java Logic

    by JoshKesner
    Replies
    6
    Views
    1,315

    Re: Java Logic

    Thanks i was planning on using words
  3. Thread: Java Logic

    by JoshKesner
    Replies
    6
    Views
    1,315

    Java Logic

    We want to make a row of bricks that is goal inches long. We have a number of small bricks (1 inch each) and big bricks (5 inches each). Return true if it is possible to make the goal by choosing...
Results 1 to 3 of 3