Reacciones Quimicas
Enviado por nneurosiss • 15 de Febrero de 2014 • 586 Palabras (3 Páginas) • 238 Visitas
class program {
program() {
iterate (5) {
while (nextToABeeper()) {
pickbeeper();
}
if (frontIsClear()) {
move();
while (nextToABeeper())
pickbeeper();
}
if (frontIsBlocked()) {
while (nextToABeeper()) {
pickbeeper();
}
turnleft();
move();
iterate (3) {
turnleft();
}
move();
iterate (3) {
turnleft();
}
move();
turnleft();
}
if (frontIsBlocked()) {
while (nextToABeeper()) {
pickbeeper();
}
turnleft();
iterate (3) {
move();
}
iterate (3) {
turnleft();
}
move();
iterate (3) {
turnleft();
}
iterate (3) {
move();
}
turnleft();
}
}
turnoff();
}
}
...