comp.lang.ada
 help / color / mirror / Atom feed
From: jon <jkjw@brighton.ac.uk>
Subject: Calculator and Operator Precedence
Date: Tue, 19 Feb 2002 16:26:55 +0000
Date: 2002-02-19T16:26:56+00:00	[thread overview]
Message-ID: <3C727CCF.505D83E0@brighton.ac.uk> (raw)

i ve built a basic calculator which asks user for expression using a
console.

eg

Enter expression : 1 + 2 + 3 * 4

now i need to make it so it can handle Operator Precendence

whats the best way of doing this ? Arrays ?




             reply	other threads:[~2002-02-19 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19 16:26 jon [this message]
2002-02-19 17:24 ` Calculator and Operator Precedence Stephen Leake
2002-02-19 20:00 ` Matthew Heaney
2002-02-20  8:03 ` Phil Thornley
2002-02-20 15:28   ` Jon
2002-02-20 15:45     ` John English
2002-02-22 16:10       ` Steven Deller
2002-02-22 16:55         ` Jean-Marc Bourguet
2002-02-25  9:17           ` Dmitry A. Kazakov
2002-02-22 20:14         ` Vadim Godunko
replies disabled

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