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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d5ed2292349acc76,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-19 08:41:58 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: jon Newsgroups: comp.lang.ada Subject: Calculator and Operator Precedence Date: Tue, 19 Feb 2002 16:26:55 +0000 Organization: University of Brighton Message-ID: <3C727CCF.505D83E0@brighton.ac.uk> NNTP-Posting-Host: cs210c3.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 1014136016 16825 194.81.200.192 (19 Feb 2002 16:26:56 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 19 Feb 2002 16:26:56 GMT X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:20124 Date: 2002-02-19T16:26:56+00:00 List-Id: 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 ?