Skip to content

Instantly share code, notes, and snippets.

@Nerdissimo
Last active January 1, 2016 22:39
Show Gist options
  • Save Nerdissimo/8211057 to your computer and use it in GitHub Desktop.
Save Nerdissimo/8211057 to your computer and use it in GitHub Desktop.
Tombola: suddivisione della posta col metodo del raddoppio.
j=prompt('Tot. puntate'),p=['Ambo','Terno','Quaterna','Cinquina','Tombola'];while(i=p.pop())alert(i+': '+(j-=j/2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment