Bulls and cows: Difference between revisions
Content added Content deleted
(Added shorter uBasic/4tH version) |
|||
Line 7,307: | Line 7,307: | ||
Next |
Next |
||
Return (c@) ' Return number of valid digits</lang> |
Return (c@) ' Return number of valid digits</lang> |
||
The addition of strings |
The addition of strings allows for much simpler code. |
||
<lang>Do |
<lang>Do |
||
s = 1234 + RND(8643) |
s = 1234 + RND(8643) |