Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean gerade=true;
- void main() {
- sammleAllesBiszurWand();
- }
- void sammle(){
- while (kornDa()){
- nimm();
- if(gerade){
- gerade=false;
- }else{
- gerade=true;
- }
- }
- }
- void sammleAllesBiszurWand(){
- while(vornFrei()){
- sammle();
- if(vornFrei())
- vor();
- }
- }
- while(gerade && !maulLeer()){
- gib();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment