actividad wsqdewferfdiagnostica tic 2

Upload: fernanda-mendoza

Post on 14-Feb-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/23/2019 Actividad wsqdewferfDiagnostica TIC 2

    1/1

    class program {

    program() { while (frontIsClear()) { move(); while (nextToABeeper()) { pickbeeper(); } } while (anyBeepersInBeeperBag()) { putbeeper(); } iterate (2) { turnleft(); } while (frontIsClear()) { move(); } turnoff(); turnoff(); }}