## Go Figure FunctionMath Probability Class

```Public Function GoFigure( _
ByVal vOne As Byte _
, ByVal vTwo As Byte _
, ByVal vThree As Byte _
, ByVal vFour As Byte _
, ByVal vResult As Long _
, Optional ByVal vMaxTries As Variant _
) As String```

### Go Figure Puzzle Solver Return a string expression which is one solution to the given "Go Figure" puzzle. There may be several solutions, but this function will return the first one that it finds.

Summary: In Go Figure, you are presented with four numbers, which when combined using some combination of the four basic mathematical operators (+, -, *, /), yield the specified result. The object of the game is to arrange the number with the appropriate mathematical operators so that when the expression is evaluated (with left-to-right precedence in the case of this function) it equals the given result.
Examples:
```    Rnd(-1) = 0.224007
GoFigure(2, 7, 7, 7, 9) = "7+2+7-7"
GoFigure(2, 2, 6, 7, 6) = "7+2-6*2"
GoFigure(2, 5, 6, 6, 360) = "5*6*6*2"
GoFigure(5, 5, 8, 9, 315) = "5*8-5*9"
GoFigure(2, 4, 7, 8, 3) = "4+8-2-7"
GoFigure(1, 1, 5, 5, 26) = "5*5*1+1"```
Note: The call to the Visual Basic Rnd function in the above example seeds the Visual Basic random number generator so that the sample results can be reproduced. There is generally no need to call the Rnd function within your programs since Entisoft Tools initializes the Visual Basic random number generator once with "Randomize" statement.
`    RandomLongGenerator Function`