A small program written in ANSI C to calculate the solubility of various ionic compounds in water.
The algorithm follows a simple set of rules available in any good chemistry reference book or the internet.
The script is launched from the command line without arguments.
The anion and cation of the compound is entered when prompted. For example, barium sulphate (BaSO4) is entered as:
Enter cation, e.g Na: Ba Enter anion, e.g Cl: SO4
Please note that this is very basic code. Do not expect it to be particularly accurate.
Requirements to build:
Note - the supplied binary is UPX compressed.