comp.lang.ada
 help / color / mirror / Atom feed
From: "�����Y�۵M�I" <jichen@csie.nctu.edu.tw>
Subject: A new hand's question
Date: 2000/05/07
Date: 2000-05-07T08:25:06+00:00	[thread overview]
Message-ID: <8f3992$ir1$1@netnews2.csie.nctu.edu.tw> (raw)

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: ......

Thank you very much






             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 �����Y�۵M�I [this message]
2000-05-07  0:00 ` A new hand's question Preben Randhol
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