McKellarPuzzle.frink

Download or view McKellarPuzzle.frink in plain text format


// Attempt to solve a graphical puzzle,
//  https://twitter.com/McKellarMath/status/1025020540518637569/photo/1

use systemSolver2.frink
symbolicMode[true]

simult = new System[[🌳 + 🌲 + spade + 🍁 === 11,
                     🌳 + 🌳 === 2,
                     🌲 - 🌳 === 4,
                     🌲 + 🌲 * spade === 20,
                     🌳 + spade * 🍁 === solution]]
simult.draw[]
println[join["\n",simult.solveAll[]]]


Download or view McKellarPuzzle.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 20145 days, 12 hours, 32 minutes ago.