Search:

Type: Posts; User: skuch89

Search: Search took 0.17 seconds.

  1. Replies
    9
    Views
    3,570

    Re: Sum of Powers using recursion

    Well, then your logic with recursive method is incorrect, think of this: you have a number 4 and 2 which are sent as parameters. Every time recursion happens first number (which is four) is changing....
  2. Replies
    2
    Views
    2,478

    Re: Grabcut Image Segmentation Algorithm

    Found some information in following website: Interactive Foreground Extraction using GrabCut Algorithm — OpenCV 3.0.0-dev documentation
    Hope it will help a bit
  3. Replies
    9
    Views
    3,570

    Re: Sum of Powers using recursion

    Can you please explain, why do you expect your code to have 30? Also, I checked this recursive method in java and it gives a result of 17, which is quite understandable if carefully counting code:
    ...
  4. Re: Pls help out with this code...What is wrong with it?

    yes, sorry about wrongly posting code. Well I believe I don't do any spoon feeding, there is a lot to be working around this code as user never really explained what he is needed...
    *** code...
  5. Re: Pls help out with this code...What is wrong with it?

    babsqenius2001, ermm your exception in code is actually showing that you try to divide number by 0, which obviously not allowed. But I checked my written code, it is correct running. I assume you...
  6. Re: Pls help out with this code...What is wrong with it?

    This code will not work:
    1. args is already declared system variable for receiving string array from the system, therefore compiler will give an error
    2. args.length - is not acceptable name for...
  7. Re: Problem with converting Numbers to Words! Kindly ask for help:(

    I would say you returning your attribute of the class which is not changed, whenever trying to do : System.out.println(P.getE());. The first output is from method setE(int e), is...
  8. Replies
    4
    Views
    1,099

    Re: UML modelling missunderstanding

    Yeah, just checked. Everything works perfect!
    Thanks
  9. Replies
    4
    Views
    1,099

    Re: UML modelling missunderstanding

    Thank You, ChristopherLowe... I actually couldn't even imagine this:/ It may work, and as soon as I'll get back I'll try, reply later!;)
  10. Replies
    4
    Views
    1,099

    UML modelling missunderstanding

    Hello programmers,

    My question is about article I've read in "Java in two semesters" by Quentin Charatan & Aaron Kans.
    I'm trying to make exercise from this book, which by scenario is following:...
  11. Replies
    1
    Views
    861

    Hello from United Kingdom

    Recently started uni at London (software engineering) and at the moment trying to be prepared for next semester.
    Hopefully this forum will help me a lot, and show my mistakes!;)
    Well looks like my...
Results 1 to 11 of 11