Bulls and cows: Difference between revisions

m
(Added shorter uBasic/4tH version)
Line 7,307:
Next
Return (c@) ' Return number of valid digits</lang>
The addition of strings allowallows for much simpler code.
<lang>Do
s = 1234 + RND(8643)
374

edits