n. So i take 1/2: " + tmp );
}else{ // so must be Odd then...
int oldTmp=tmp;
tmp=tmp*3+1;
... return false; // there is a remainder. So it must be ODD.
}else{
return true; // there is NO remainder. So it must be EVEN.
}
}
/**
* Instance Var to keep track
is? please send me a email or comment on the YouTube Video.
**
Here is the short Video that shows the behavior.
* http://www.youtube.com/watch?v=RFEuTBagNkk
===== Java Code: =====
====
I found an interesting Question on one YouTube Video Tutorials and thought about testing it out ... to it.
The Original Video was: [[http://www.youtube.com/watch?annotation_id=annotation_974871&v=TL7td