Bulls&Cows& & J( ÿ!êBulls and Cows @ Robert Erskine í9000(#  í8000@ ëx=1Ì4 d*ù:ñR=¥:î"How many guesses do you want?";t n í1000è x'û:õ"I have chosen a number":ò100d ‚ í2000Ð ‡ ëq=1Ìt Œsî"ENTER YOUR GUESS NOW (4 digits) ";Êg$:ú±g$É4Ëõ#1;Û1;"reinput correctly!!":ò60<:ì140Œ ‘pëf=1Ì4:ú¯g$(f)<480ůg$(f)>579Ëõ#1;Û1;"Numbers only!!":ò60<:ì140Œ:óf – í200È   í3000¸ ªúblack<4Ëóq ´ò100d:í4000  ¾Bõ¬21,4;"PRESS ANY KEY TO RESTART":ò0:ì100d Èñblack=0:ñwhite=0 Íéa(4):éh(4) Òëx=1Ì4 ×ña(x)=°(g$(x)) Ùóx Üëx=1Ì4 æ úa(x)=n(x)Ëñblack=black+1 ðúa(x)=n(x)Ëñh(x)=1 úóx ëx=1Ì4 ëy=1Ì4 Fúa(x)=n(y)Æh(y)=0Ëñwhite=white+1:ñh(y)=1:ì3106 "óy 6óx @õg$; Jþ  %õ¬1,8;"Bulls and Cows":õ èén(4):êchoose òëx=1Ì4 üñn(x)=º(¥*9 )+1 óx þ Ðç0:Ú1:Ù7:û Úõ"GUESSES BULLS COWS" äõ îþ ¸úblack=0Ëì3070þ  ñf=13 Ìëx=1Ìblack Öõ­(f);Ù0;""; à×.1}LÌÌÌ,25 ê ñf=f+1 ôóx þúwhite=0Ëì3130:  ñf=22 ëx=1Ìwhite õÙ7;­(f);"‘"; ×.1}LÌÌÌ,25 & ñf=f+1 0óx :õ Xþ  úblack<4Ëì4030¾ ªEû:õ¬4,0;"You are correct. the number ",,,"I chose was "; ´ ì4040È ¾;û:õ"That was not very good. The ",,,"number ¬ chose was "; Èëx=1Ì4 Òõn(x); Üóx æõ:õ:õ;"and you guessed "; ðëx=1Ì4 úõa(x); óx õ þ Jõ"The object of Bulls and cows is","to guess a four digit number ","chosen by the computer. After ","each guess the computer will ","give you clues; each bull ","indicates a correct digit in thecorrect position andeach cow ","indicates a correct digit in ","the wrong position." T,õ¬21,4;"Press any key to start" ^ú¦=""Ëì8030^ hþ #(å:ëx=À"a"ÌÀ"b"+7 #2ãn #<ôx,n #Fóx #P‘ä0,2,3,255ÿ,126~,126~,66B,66B,0,0,3,255ÿ,126~,126~,66B,66B #Zþ