lol that is where it was lol. it is 20*n[i] - 4. Overlooked that
Type: Posts; User: georger55
lol that is where it was lol. it is 20*n[i] - 4. Overlooked that
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...
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...