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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.45.200 with SMTP id g66mr934937otb.84.1478095960294; Wed, 02 Nov 2016 07:12:40 -0700 (PDT) X-Received: by 10.157.34.104 with SMTP id o95mr289389ota.6.1478095960258; Wed, 02 Nov 2016 07:12:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!q124no189997itd.0!news-out.google.com!c26ni790itd.0!nntp.google.com!e187no190920itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 2 Nov 2016 07:12:40 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.139.41.146; posting-account=TqwWZQoAAACOdRXrDXEu_bgKfHOs6ytX NNTP-Posting-Host: 46.139.41.146 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2ca2899f-766b-49d8-ac19-63e474994402@googlegroups.com> Subject: Ada language help From: ugur kazar Injection-Date: Wed, 02 Nov 2016 14:12:40 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32220 Date: 2016-11-02T07:12:40-07:00 List-Id: Hi there i need to work on ada project but i have no idea how to start beca= use i dont have experiance on ada language.Can you give me some ideas to me= how to deal with this project.Please dont missunderstand me i am not tryin= g get the finished project from you with the zero afford. i am just asking = for your help=20 thanks for your help best regards here is my project: Homework 1 (to be sent by email before the mid-term exam) Write a Bag (Multiset) generic package. A Bag contains elements and their multiplicity as well. Removing an element means decreasing its multiplicity. The Bag type should be a record with a discriminant, which is the maximum capacity of the bag. In the record put an array that contains (element, multiplicity) pairs. The type of the elements is the parameter of= the generic package. Define the Add and the Remove procedures, and the Multiplicity function over the type Bag. Write a For_Each iterator, which is an inner generic procedure. This generic has a Process_Elem parameter procedure which will be applied over each pair of a bag