Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1.     public void C7(int bok, int depth ){
  2.         if (depth < 0) {
  3.            return;
  4.         }
  5.         C7(bok/3, depth-1);
  6.         for(int j=0;j<4;j++){
  7.             forward(2*bok/3);
  8.             C7(bok/3, depth-1);
  9.             back(2*bok/3);
  10.             right(90);
  11.         }
  12.     }
  13.  
  14.  
  15. alg.C7(450, 5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement