Chocolate Mathematics (Math Trick)

Category:
Dates and Math
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Further info: You've may have seen this in email at sometime, as I did. As a beginner I thought I'd try and do the same in VB for fun. It is a math trick that is fully documented in the code.

Besides being a bit of fun, this demo does show a few simple ways how to restrict a users input by going through a sequence. Error messages popup when incorrect data is inserted. Use of strings and the code is fully documented.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download chocmath.zip