Search:

Type: Posts; User: Norm

Search: Search took 0.21 seconds.

  1. Re: In desperate need of help. Making an exponents table.

    @shiftasterisk
    Please run your code through a compiler before posting it here. Your for statement is going to confuse the OP.
  2. Re: In desperate need of help. Making an exponents table.

    Post the code and ask your questions about what you want it to do.
    Do things one at a time:
    make a loop that goes for exponent times
    when that works
    compute the value inside of the loop using the...
  3. Re: In desperate need of help. Making an exponents table.

    For testing just print out the value of the index.

    When you can get the loop working like you want, then add code to compute the value to be printed.


    The variable that contains the computed...
  4. Re: In desperate need of help. Making an exponents table.

    Please edit your post and wrap the code in code tags
    BB Code List - Java Programming Forums - The Java Community

    You should use descriptive variable names, not x and y. The two values you are...
  5. Re: In desperate need of help. Making an exponents table.

    Please post what you have so far.
    Start with a variable with a value of 1 and multiply it by the base and save that value and then loop and do it again until done.
Results 1 to 5 of 5