From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed6f612e60cd2790 X-Google-Attributes: gid103376,public From: jmb36@bton.ac.uk (baker) Subject: Ada Student Needs Help.. Date: 1997/01/13 Message-ID: <5bdl4i$ffl@saturn.brighton.ac.uk>#1/1 X-Deja-AN: 209564164 organization: University of Brighton newsgroups: comp.lang.ada Date: 1997-01-13T00:00:00+00:00 List-Id: I'm a Computer Science student in my first term. I've got a problem that I hope you can help me with. From the chart below, I need to be able to mix a selection of drinks (or just one drink) and display the total alcoholic content in standard units of 10 millilitres. I'm stuck on how to do this. Can anyone help me out? Berverage Standard Strength Bottle/Can ml Standard Pub Glass Beer 3.5 440 568 (pint) Strong Beer 5.0 Wine 12.0 750 125 Fortified Wine 18.0 750 50 Spirits 40.0 700 24 I just want a genral solution, hopefully avoiding arrays (cos I'm not very good with them) Can I use Record types? Please could you E-Mail me at J.M.Baker@bton.ac.uk Thanks Rage Matrix.