Search:

Type: Posts; User: jwb4291

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    3,729

    [SOLVED] Re: I thought that this would be right?

    Yeah that didnt work. This is the feedback I got
    The input value for jackpot was 910.7072635769393

    Your code produced:
    0

    The correct solution produced:
    17
  2. Replies
    7
    Views
    3,729

    [SOLVED] Re: I thought that this would be right?

    It is a homework assignment, the only place that I can actually type any code in is after
    in numDays = 0;
    code goes here
    return numDays;
    }
    it is just completing the method but Im not sure what...
  3. Replies
    7
    Views
    3,729

    [SOLVED] Re: I thought that this would be right?

    This is the whole code. The error says that it should say '.class' right after 'double amount' which makes no sense
    This is my most recent code that I plugged in in the blank space.

    while(amount...
  4. Replies
    7
    Views
    3,729

    [SOLVED] I thought that this would be right?

    Here is the prompt I got: Suppose you have one cent ($0.01) in a sock. Each day you double the amount of money you have in the sock. Thus on day one you have one cent, on day two you have two cents...
Results 1 to 4 of 4