Guess the number/With feedback: Difference between revisions

Content added Content deleted
Line 4,445: Line 4,445:
<syntaxhighlight lang="basic">10 cls
<syntaxhighlight lang="basic">10 cls


20 let r = int: (rnd) * 100 + 1
20 let r = int(rnd * 100) + 1


30 print "hilo game"
30 print "hilo game"
Line 4,483: Line 4,483:
210 if g <> r then 50
210 if g <> r then 50


220 shell "pause""</syntaxhighlight>
220 shell "pause"</syntaxhighlight>


=={{header|TUSCRIPT}}==
=={{header|TUSCRIPT}}==