Penney's game: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|VBA}}) |
||
Line 2,657: | Line 2,657: | ||
S = Random |
S = Random |
||
Select Case YourChoice |
Select Case YourChoice |
||
Case " |
Case "ABORT": WhoWillBeFirst = YourChoice |
||
Case Else: |
Case Else: |
||
WhoWillBeFirst = IIf(S = YourChoice, "You", "Computer") |
WhoWillBeFirst = IIf(S = YourChoice, "You", "Computer") |