# Search:

Type: Posts; User: thawigga

1. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### Re: need to create a program that adds multiples(confusing see inside more detail)

I figured it out. Thank you so much for this i appreciate all the help and you staying with me throughout my stupidity.
2. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### Re: need to create a program that adds multiples(confusing see inside more detail)

test program

public class testLoop
{
public static void main(String[] args)
{

for(int j = 1; j<=5;j ++)
{
3. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### Re: need to create a program that adds multiples(confusing see inside more detail)

the answer for when a three is entered is 4 but an 8 was returned

Enter a Value
3
The value is being increased by 2 * 1
The value is 4
Y = 2
Pos = 4
The value is being increased by 2 * ...
4. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### Re: need to create a program that adds multiples(confusing see inside more detail)

Enter a Value
5
The value is being increased by 2 * 1
The value is 4
Y = 2
Pos = 4
The value is being increased by 2 * 2
The value is 8
Y = 3
Pos = 5
5. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### Re: need to create a program that adds multiples(confusing see inside more detail)

for clarification int l is the length, or the location the user wants to find the value of x and y are controlling variables and pos is the current position. val is the value.

import...
6. ## Thread: need to create a program that adds multiples(confusing see inside more detail)

by thawigga
Replies
11
Views
1,188

### need to create a program that adds multiples(confusing see inside more detail)

I was assigned this problem for java class and i have spent well over ten hours working on this including theory and testing.
so the problem goes like this the value for position 1 is 1, the value...
Results 1 to 6 of 6