comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Numbers problem
Date: Tue, 13 Mar 2001 14:56:14 -0500
Date: 2001-03-13T19:56:42+00:00	[thread overview]
Message-ID: <98lu1q$93n$1@nh.pace.co.uk> (raw)
In-Reply-To: 98ls9n$mp76@tech.port.ac.uk

Now *that* sounds more like a homework problem! :-)

Hint: Figure out which one is smallest then work upwards from there.

If you have trouble with that, try your textbook (or the Ada Reference
Manual) in the areas that deal with "if" statements and "for" loops. You
might want to look at the section that deals with "subprograms" since it
doesn't sound like you've got a grasp on the difference between a function
and a procedure.

MDC

--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/



"WM" <wwminirl@hotmail.com> wrote in message
news:98ls9n$mp76@tech.port.ac.uk...
> How can I write a function, such as: input two random integers, output all
> values one by one from smallest to highest.
> e.g. input: 6,2
>      output: 2,3,4,5,6
>
> Thanks!
>
>





       reply	other threads:[~2001-03-13 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <98ls9n$mp76@tech.port.ac.uk>
2001-03-13 19:56 ` Marin David Condic [this message]
2001-03-14  2:28   ` Numbers problem Jeffrey Carter
replies disabled

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