# Search:

Type: Posts; User: danielp1213

1. ## Thread: Help with code dealing with parallel arrays.

by danielp1213
Replies
5
Views
719

### Re: Help with code dealing with parallel arrays.

I know how to do the for loop but there are both x and y values so I am a little
confused on how to code it. Could you provide an example?

by x and y i mean two separate arrays.
2. ## Thread: Help with code dealing with parallel arrays.

by danielp1213
Replies
5
Views
719

### Re: Help with code dealing with parallel arrays.

I think I just need to go from point to point. x[1] to x[2] using a loop i think. I don't know how to code it.
If there is an algorithm could you show that as well?

Thanks
3. ## Thread: Help with code dealing with parallel arrays.

by danielp1213
Replies
5
Views
719

### Help with code dealing with parallel arrays.

Hey I need some help with the code! specifically with the perimeter and area methods.

I am not sure how to implement them or what code i need o fill in.
For the perimeter I think I need to go...
4. ## Thread: Help with code for converting 4 digit string to integer

by danielp1213
Replies
5
Views
961

### Re: Help with code for converting 4 digit string to integer

yeah thats what I mean where you have ass code here. Do i use assert decimal.int2string( 8976 ).equals( "8976" ); OR do I use String str = "012"; char ch0 = str.char AT (0); ETC
5. ## Thread: Help with code for converting 4 digit string to integer

by danielp1213
Replies
5
Views
961

### Re: Help with code for converting 4 digit string to integer

yeah that is what I mean. Do they go under the other methods int2 string and string2int ??

Could I use
String str = "012";
char ch0 = str.char AT (0);

Or something like that? There is a...
6. ## Thread: Help with code for converting 4 digit string to integer

by danielp1213
Replies
5
Views
961

### Help with code for converting 4 digit string to integer

Hey i was just wondering if someone cold help me with this code to convert a 4 digit string into an integer ad vice versa. I have the instance variables and stuff but i think some of my code is in...
Results 1 to 6 of 6