View Single Post
Old 03-21-2011, 01:00 PM   PM User | #3
FancyThat
New to the CF scene

 
Join Date: Mar 2011
Location: Mars :P
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
FancyThat is an unknown quantity at this point
I'm not asking for the answer, just a point in the right direction, i've genuinely hit a brick wall. I've tried what i can but it clearly is not good enough. Sorry if it comes out as if i'm looking for the answer.

I won't learn anything that way so it's pointless just getting an answer.

The thing is i understand exactly what it's asking me to do but i just can't do it..

This bit of code that i did actually uses the SmallChange class that i'm trying to build.

Code:
public static void main(String args[])
	{
		ScalesSolution s = new ScalesSolution("11111");
		s.println();
		s.SmallChange();
		s.println();
	}
As you can see it will print 111111 and then the SmallChange class gets called and should change a random number from 1 to 0, and if i change the "111111" to "000000" it should change a random one of those to a 1.

Last edited by FancyThat; 03-21-2011 at 01:41 PM..
FancyThat is offline   Reply With Quote