Skip to content

Instantly share code, notes, and snippets.

@jrwarwick
Created March 13, 2019 14:46
Show Gist options
  • Save jrwarwick/07ac46bb6cc5bccba166193c5b2d328b to your computer and use it in GitHub Desktop.
Save jrwarwick/07ac46bb6cc5bccba166193c5b2d328b to your computer and use it in GitHub Desktop.
Demo: Computers are Fast at Counting and Simple Math
$multiple = 2
$currentNumber = 1
while ($currentNumber -lt 562949953421310) {
$currentNumber = $currentNumber * $multiple
$currentNumber
}
$vox = New-Object -com SAPI.spvoice
$vox.speak("Sorry, too late. I have already reached $($currentNumber). As you can see, computers really are amazingly, blazingly fast.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment