CS 104 1.10.7 big tower

1.10.7

image


/* This program draws a big tower from Karel's starting spot */ public class BigTowerKarel extends SuperKarel

{

public void run()

{

while( notFacingNorth() )

{

turnLeft();

}

while(frontIsClear())

{

putBall(); move();

}

putBall();


}

}

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.