;
tmp=tmp/2;
println( oldTmp + " is even. So i take 1/2: " + tmp );
}else{ // so must be Odd then...
int oldTmp=tmp;
tmp=tmp*3+1;
println( oldTmp + " is odd. So i make 3n+1: " + tmp );
}
}
return tmp;
}... %2!=0){
return false; // there is a remainder. So it must be ODD.
}else{
return true; // there
inge ich das Programm zur Ausführung? =====
Ganz so schnell gehts nun doch nicht. Noch liegt uns das ... n statt dessen nur die *.class Datei (Byte Code), so brauchen wir keinen Compiler mehr sondern nur noc
erything
* after the decimal point completly. So for example: casting a "2.9" will become "2".
... s anything after the decimal point.
*
* So by adding 0.5 to 2.9 it becomes 3.4, casting to i
eld1,
* then skipping the next field, and so on.
*/
while( frontIsClear() ) {
putBeepe... then placing a beeper on the next field, and so on.
*/
while( frontIsClear() ) {
move();