LOGIC4FUN

Beginner: JellybeansSample answers

There is not a lot to say about this encoding. Note that the function symbols given in the Vocabulary box are declared to be “hidden”. This means they will not be printed when the solutions are reported. Instead, at the end, we introduce two constants recording David’s age and beans. These could have been declared as vocabulary, as they are names of integers, but the solver is smart enough to work that out, so we can simply use them without declaring them.

Solver

Please log in or create an account to use the solver.
Save Title:
Saved Solutions
Name Time saved
Class Submissions
Name Time submitted
  
Powered by:                 

  Auto Parser Results

No errors found.