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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,30e0ceaf4e6be70c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-04 02:28:25 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: vashwath@rediffmail.com (prashna) Newsgroups: comp.lang.ada Subject: Re: Simple program to find average of 3 numbers Date: 4 Jul 2003 02:28:25 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 203.90.112.53 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1057310905 3183 127.0.0.1 (4 Jul 2003 09:28:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Jul 2003 09:28:25 GMT Xref: archiver1.google.com comp.lang.ada:40048 Date: 2003-07-04T09:28:25+00:00 List-Id: tmoran@acm.org wrote in message news:... > >What is wrong in the following program which is giving constraint error? > 70+70+70/3= 163 > 100 > Have a restorative weekend. ;) O.K, I have changed line 12 to AVG := (OBJ1+OBJ2+OBJ3)/3; But still it giving constraint error!!! :((