@mageorge
Oh, no I know. I fixed the "i" to "int i" and it totally almost made it work. I didn't have to change much after that, besides make nEvens = i / 2; and increment nEvens after the loop...
Type: Posts; User: ghostheadx
@mageorge
Oh, no I know. I fixed the "i" to "int i" and it totally almost made it work. I didn't have to change much after that, besides make nEvens = i / 2; and increment nEvens after the loop...
Hey, I made it work. Thanks for referring me to the loops tutorial. I really appreciate it. I'll read it. Here is my code:
public class Item
{
private int myN;
public Item( int n )
Hi, I'm sorry about the last post. I shouldn't just say "I don't get it" as the whole question. It's totally my fault. Anyways, I am having a problem with this code. I get an error no matter what I...