Short: Calculates the cheapest alcohol drink from a given list Author: Bongoman (fedex@emsmail.net) Type: util/misc Version: 1.0 Architecture: m68k-amigaos Beer 2001 v1.0 written by Bongoman This is an advanced advisory system. Beer 2001 can recommend the cheapest drink with the maximum amount of alcohol from a given list of alcoholic beverages. It can provide the comparison of amount of alcohol in each set of drinks, including amount of standard drinks and the price of the lot. This program uses Australian measure of a standard drink (10g of absolute alcohol). One USA standard drink is 13.6g of absolute alcohol. In other words, Beer 2001 calculates the cheapest way to get drunk :) Binaries for AmigaOS, Linux i386 and Windows are included. Source code in C++. Requirements ------------ Amiga - AmigaOS 3.0 Linux - Linux i386 Windows - Windows 9x/Me/2000/NT Usage ----- No arguments needed to execute. Simply answer the questions Beer 2001 asks. Example: [14:58:06] C:\Dev\beer2001\bin\win32\ >beer2001.exe Beer 2001 v1.0 written by Bongoman Number of drinks to choose from (minimum 2, maximum 8): 2 Max. amount of cash you can spend: $30 Drink #1 details... Name (no spaces): Smirnoff Alcohol percentage: %37 Price for one bottle: $24.95 Bottle size (in mililitres): 750 Drink #2 details... Name (no spaces): VictoriaBitter Alcohol percentage: %4.9 Price for one bottle: $3 Bottle size (in mililitres): 750 ------------------------------------------------ VictoriaBitter is the cheapest choice. You can buy 10 bottles for $30. Comparison of amount of alcohol: 1 bottle of Smirnoff ($24.95) contain in total 277.5 grams of alcohol (ie 27.75 std. drinks). 10 bottles of VictoriaBitter ($30) contain in total 367.5 grams of alcohol (ie 36.75 std. drinks). This program uses Australian measure of a standard drink (10g of absolute alcohol). Source ------ This program comes with source code written in C++. The program is very simple and has been successfully compiled on the following configurations: GeekGadgets EGCS, AmigaOS 3.1 EGCS, Slackware Linux 7.1 (intel) Borland C++ 5.5.1, Windows 98 SE Bugs ---- Drink names cannot contain any spaces (eg. "Fosters Beer" will fail :) Legal ----- This program is freeware. Feel free to change the source and/or redistribute it.