Search:

Type: Posts; User: georger55

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,629

    Re: Using an Array in an equation

    lol that is where it was lol. it is 20*n[i] - 4. Overlooked that
  2. Replies
    5
    Views
    1,629

    Re: Using an Array in an equation

    Thanks for the response. I actually have the for loop.



    for (int i = 0; i < n.length; i++){
    double sum = (20*n.length) - 4;

    System.out.println("After the numbers...
  3. Replies
    5
    Views
    1,629

    Using an Array in an equation

    I am having trouble trying to figure out this only section of this program. I have an array. To keep this simple lets say the array is int n[] = {1, 2, 3, 4, 5} and I would like each number in the...
Results 1 to 3 of 3