From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp1-1.free.fr!not-for-mail Subject: Re: Pascal triangle algorithm ("homework"). iterative one. the direct one was simple. Newsgroups: comp.lang.ada References: From: DrPi <314@drpi.fr> Date: Sat, 30 Jan 2021 17:36:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Message-ID: <60158b04$0$19449$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 30 Jan 2021 17:36:20 CET NNTP-Posting-Host: 82.65.30.55 X-Trace: 1612024580 news-4.free.fr 19449 82.65.30.55:60857 X-Complaints-To: abuse@proxad.net Xref: reader02.eternal-september.org comp.lang.ada:61245 List-Id: Le 30/01/2021 à 15:40, Mehdi Saada a écrit : > Here's this, complete with put_line and comments... > Sorry for the length. I can't even follow anymore where's it going wrong and why. tried to. At least the "swap" routine does what it 's supposed to. > I hope you'll enlighten me. > To get an answer, you have to describe your problem. Posting code and console output is not enough.