Jump to content

Mind boggling card trick: Difference between revisions

m
→‎{{header|zkl}}: fix spelling
(→‎{{header|Javascript}}: Wrapped the swap of n cards in an exchange function)
m (→‎{{header|zkl}}: fix spelling)
Line 847:
println("Agreed, black stack has same number of black cards \n "
"as red stack has number of red cards: ",numRed);
else println("Boo, differntdifferent stack lenghts");</lang>
{{out}}
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.