X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fstromecek.c;h=40153a47001c83b93c944fcbd9e79a7629d96ed6;hb=bc44f2cc0aa5c38e6dd90b3cb1bc0d68464fff10;hp=a2d867a909c8d4f01d10a180acb7f2fee9da8de6;hpb=956a4c051a02b9c65d81e644c848e4e2f098da7e;p=svn%2FCll1h%2F.git diff --git a/demos/stromecek.c b/demos/stromecek.c index a2d867a..40153a4 100644 --- a/demos/stromecek.c +++ b/demos/stromecek.c @@ -7,12 +7,12 @@ program while(jehlici<=kmen) { - repeat(kmen-jehlici) printf(" "); - printf("/"); - repeat(jehlici<<1) if (jehlici>1,vetev=0,stromecek++; } - repeat(kmen) printf(" "); - printf("||\n"); + repeat(kmen) echo(" "); + print("||"); }