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=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed6f612e60cd2790,start X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Ada Student Needs Help.. Date: 1997/01/13 Message-ID: <1997Jan13.130528.1@eisner>#1/1 X-Deja-AN: 209549754 x-nntp-posting-host: eisner.decus.org references: <5bdl4i$ffl@saturn.brighton.ac.uk> x-nntp-posting-user: KILGALLEN x-trace: 853178733/1776 organization: LJK Software newsgroups: comp.lang.ada Date: 1997-01-13T00:00:00+00:00 List-Id: In article <5bdl4i$ffl@saturn.brighton.ac.uk>, jmb36@bton.ac.uk (baker) writes: > 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? In general, however, helping people with their schoolwork is frowned upon within comp.lang.ada. > I just want a genral solution, hopefully avoiding arrays (cos I'm not very > good with them) Can I use Record types? If you aren't very good with arrays, that might be a good reason to use them for your project, since the goal is learning rather than actually mixing drinks. However, I might be wrong about that, since I am not in the Education business. Larry Kilgallen