I'm writing a bug called HomerBug.
HomerBug is a subclass of Bug.
HomerBug chooses a DumbRainbowBug in the Grid.
If there are no DumbRainbowBugs, it does nothing.
Otherwise it takes one step...
Type: Posts; User: prodigytoast
I'm writing a bug called HomerBug.
HomerBug is a subclass of Bug.
HomerBug chooses a DumbRainbowBug in the Grid.
If there are no DumbRainbowBugs, it does nothing.
Otherwise it takes one step...
Oh! haha I didn't realize those were factors! Thanks again!
Thanks alot! That helped me so much, I appreciate it, however, I need to work on the factoring part now, with that current code, it is printing some pretty strange numbers next to the non-prime...
What you need in JOptionPane.showMessageDialog("Monday");
is "null" in front of Monday.
It should read: JOptionPane.showMessageDialog(null, "Monday");
Also, I've spotted another error, after...
Hello, I'm working on a project that outputs the numbers 2 – 100.
Next to each number, it should list all the factors for that number.
If the number has no factors, it should print prime.
...