Sleeping Beauty problem: Difference between revisions
m
→{{header|R}}: Syntax highlighting.
Alextretyak (talk | contribs) (Added 11l) |
ReeceGoding (talk | contribs) m (→{{header|R}}: Syntax highlighting.) |
||
Line 763:
=={{header|R}}==
There's nothing complicated here. Pretty much every language that resembles C is going to use virtually the same solution.
<lang
{
wakeCount <- headCount <- 0
|