February 3rd, 2009, 10:46 PM
I thought you meant there was one in the API
February 3rd, 2009, 10:42 PM
I didn't think of iterative
February 2nd, 2009, 09:58 PM
wasn't homework. this is what we did
private boolean allCombinations()
{
int firstZero=findZero();
if (firstZero==2)
return false; //all combinations...
February 1st, 2009, 03:11 AM
I'm trying to make a 2d array in java filled with the truth table for n amount of variables
ex. 3 variables will create an array that looks like this
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
February 1st, 2009, 03:08 AM
I'm trying to make a 2d array filled with the truth table for n amount of variables
ex. 3 variables will create an array that looks like this
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1