|
From: | slaythemall |
Subject: | Re: Is it correct to build a tree? |
Date: | Wed, 15 Jun 2016 12:59:45 -0700 (PDT) |
function gw = parzyste(n) d = 0; s = n-1; g = n; while g>0 for i=0 : g-1 printf(" ") endfor for i=0 : d printf("*") endfor printf("\n") d=d+2; g=g-1; endwhile g = 0; d=d-4; while g<n-1 for i=0 : g+1 printf(" ") endfor for i=0 : d printf("*") endfor printf("\n") d=d-2; g=g+1; endwhile endfunction -- View this message in context: http://octave.1599824.n4.nabble.com/Is-it-correct-to-build-a-tree-tp4677739p4677742.html Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |