Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Javascript (https://www.askmehelpdesk.com/forumdisplay.php?f=452)
-   -   How to check if a certain character follows another (https://www.askmehelpdesk.com/showthread.php?t=784594)

  • Feb 16, 2014, 11:42 AM
    Pastallides
    How to check if a certain character follows another
    I need to run a program where a person flips a coin an infinite amount of times and is counted, until the program finds heads followed by tails. I've been trying solutions such as allowing h = t + 1 each time, but to no avail.

    If there's any way that you can help, it will be greatly appreciated.

  • All times are GMT -7. The time now is 05:08 AM.