comp.lang.ada
 help / color / mirror / Atom feed
* Ada Student Needs Help..
@ 1997-01-13  0:00 baker
  1997-01-13  0:00 ` Larry Kilgallen
  1997-01-16  0:00 ` John English
  0 siblings, 2 replies; 10+ messages in thread
From: baker @ 1997-01-13  0:00 UTC (permalink / raw)



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.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1997-01-17  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-13  0:00 Ada Student Needs Help baker
1997-01-13  0:00 ` Larry Kilgallen
1997-01-13  0:00   ` Norman H. Cohen
1997-01-14  0:00   ` Michael F Brenner
1997-01-17  0:00   ` Steve Jones - JON
1997-01-17  0:00   ` John English
1997-01-17  0:00   ` Steve Jones - JON
1997-01-16  0:00 ` John English
1997-01-16  0:00   ` Larry Kilgallen
1997-01-16  0:00   ` whiting_ms@corning.com (Matt Whiting)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox