Programmieren leicht gemacht - adäquate Modelle für den Einsatz im Unterricht/ ZufallsHamster.uue

Aus Wikibooks
Zur Navigation springen Zur Suche springen

ZufallsHamster.uue[Bearbeiten]

begin 0666 ZufallsHamster.ham
M+RIC;&%S<RHO8VQA<W,@6G5F86QL<TAA;7-T97(@97AT96YD<R!(86US=&5R
M('L*"B`@+R\@4W5B;V)J96MT"B`@6G5F86QL<TAA;7-T97(@;F%C:'=U8VAS
M.PH@(`H@("\O($MO;G-T<G5K=&]R"B`@6G5F86QL<TAA;7-T97(H*2!["B`@
M("`O+R!E:6X@;F5U97(@2&%M<W1E<B!W:7)D('IU9F%E;&QI9R!I<F=E;F1W
M;R!I;0H@("`@+R\@5&5R<FET;W)I=6T@97)Z975G=`H@("`@:6YT('(@/2!:
M=69A;&QS2&%M<W1E<BYE<GIE=6=E6G5F86QL<UIA:&PH"B`@("`@("`@("`@
M("`@5&5R<FET;W)I=6TN9V5T06YZ86AL4F5I:&5N*"DM,2D["B`@("!I;G0@
M<R`](%IU9F%L;'-(86US=&5R+F5R>F5U9V5:=69A;&QS6F%H;"@*("`@("`@
M("`@("`@("!497)R:71O<FEU;2YG971!;GIA:&Q3<&%L=&5N*"DM,2D["B`@
M("!I;G0@8B`](%IU9F%L;'-(86US=&5R+F5R>F5U9V5:=69A;&QS6F%H;"@S
M*3L*("`@('1H:7,N:6YI="AR+"!S+"!B+"`P*3L*("`@('1H:7,N;F%C:'=U
M8VAS(#T@;G5L;#L*("!]"B`@"B`@=F]I9"!L875F*"D@>PH@("`@+R\@9&5R
M($AA;7-T97(@;&%E=69T('IU9F%E;&QI9R!I<F=E;F1W;VAI;@H@("`@:6YT
M('IA:&P@/2!:=69A;&QS2&%M<W1E<BYE<GIE=6=E6G5F86QL<UIA:&PH,RD[
M"B`@("!I9B`H>F%H;"`]/2`P*2!["B`@("`@(&EF("AT:&ES+G9O<FY&<F5I
M*"DI('1H:7,N=F]R*"D["B`@("!](&5L<V4@:68@*'IA:&P@/3T@,2D@>PH@
M("`@("!T:&ES+FQI;FMS56TH*3L*("`@("`@:68@*'1H:7,N=F]R;D9R96DH
M*2D@=&AI<RYV;W(H*3L*("`@('T@96QS92!I9B`H>F%H;"`]/2`R*2!["B`@
M("`@('1H:7,N:V5H<G0H*3L*("`@("`@:68@*'1H:7,N=F]R;D9R96DH*2D@
M=&AI<RYV;W(H*3L*("`@('T@96QS92!["B`@("`@('1H:7,N<F5C:'1S56TH
M*3L*("`@("`@:68@*'1H:7,N=F]R;D9R96DH*2D@=&AI<RYV;W(H*3L*("`@
M('T*"B`@("`O+R!F86QL<R!.86-H=W5C:',@=F]R:&%N9&5N(&ES="P@9&%R
M9B!D:65S97(@875C:"!L875F96X*("`@(&EF("AT:&ES+FYA8VAW=6-H<R`A
M/2!N=6QL*2!["B`@("`@('1H:7,N;F%C:'=U8VAS+FQA=68H*3L*("`@('T*
M("`@(`H@("`@+R\@9F%L;',@<VEC:"!A=68@9&5R(&YE=65N($MA8VAE;"!S
M8VAO;B!(86US=&5R(&)E9FEN9&5N+`H@("`@+R\@=6YD(&1E<B!(86US=&5R
M(&YO8V@@:V5I;F5N($YA8VAW=6-H<R!H870L"B`@("`O+R`B<&%A<G0B(&5R
M('-I8V@@=6YD(&5R>F5U9W0@3F%C:'=U8VAS"B`@("!I9B`H5&5R<FET;W)I
M=6TN9V5T06YZ86AL2&%M<W1E<BAT:&ES+F=E=%)E:6AE*"DL"B`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("!T:&ES+F=E=%-P86QT92@I
M*2`^(#$@)B8*("`@("`@("!T:&ES+FYA8VAW=6-H<R`]/2!N=6QL"B`@("`@
M("`I('L*("`@("`@=&AI<RYN86-H=W5C:',@/2!N97<@6G5F86QL<TAA;7-T
M97(H*3L*("`@("`@("`O+R!!=69R=68@9&5S(&]B:6=E;B!+;VYS=')U:W1O
M<G,@=6YD(&1A;6ET(`H@("`@("`@("\O("):=69A;&QS:6YI=&EA;&ES:65R
M=6YG(@H@("`@?0H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