X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fstromecek.c;h=40153a47001c83b93c944fcbd9e79a7629d96ed6;hb=25a3f4304e39dce85a217fd3166df867a5d75b96;hp=a2d867a909c8d4f01d10a180acb7f2fee9da8de6;hpb=547332b7650fec6dbcaf2053369fd9dc8c6af091;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("||"); }