comp.lang.ada
 help / color / mirror / Atom feed
From: randhol+nospam@pvv.org (Preben Randhol)
Subject: Re: A new hand's question
Date: 2000/05/07
Date: 2000-05-07T08:47:55+00:00	[thread overview]
Message-ID: <slrn8habe9.8mc.randhol+nospam@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 8f3992$ir1$1@netnews2.csie.nctu.edu.tw

On Sun, 7 May 2000 16:22:03 +0800, �����Y�۵M�I wrote:
>Hi,
>  How can I rewite the following code segment using a loop structure in Ada:
>
>  k := (j+13)/27
>loop:
>  if k>10 then goto out
>  k :=k+1
>  i := 3*k-1
>  goto loop
>out: ......

By reading: 

   http://adahome.com/Tutorials/Lovelace/s5s3.htm

For furter reading: 

   http://adahome.com/Tutorials/Lovelace/lovelace.html

I'd also like to recommend the book "Ada 95 Problem Solving and Program
Design" :

   http://www.seas.gwu.edu/~mfeldman/cs1book/

for a nice introduction to the Ada 95 language.

-- 
Preben Randhol -- [randhol@pvv.org] -- <http://www.pvv.org/~randhol/>
         "Det eneste trygge stedet i verden er inne i en fortelling."
                                                      -- Athol Fugard




  reply	other threads:[~2000-05-07  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-07  0:00 A new hand's question �����Y�۵M�I
2000-05-07  0:00 ` Preben Randhol [this message]
2000-05-07  0:00   ` �����Y�۵M�I
2000-05-07  0:00     ` Robert Dewar
replies disabled

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