Program to determine the percentage of a glass containing liquid.