This code give me infinite loop although sum become equals to 7 and become equals to (point)
while ( sum!=point || sum!=7)
{
rollDices();
System.out.println("rolling dices .. sum="+sum);
} //end while
but if I do this:
while(sum!=point)
or this
while(sum!=7)
it works fine without any problem