A few minor points:
On 4/15/07, ramacd <[EMAIL PROTECTED]> wrote:
Devon McCormick wrote:
...
The limitation to 5 numbers wasn't something I recall seeing in the
problem statement, although I don't recall seeing the problem statement.
This was from an e-mail from Amelia, sent on Apr 13, 2007 2:19 PM, where she
wrote:
I was able to make it run by typing:
main 5
But that gives it a value to start with. Is there a way to make a program
run without having to supply it with a value like that? I would like to
have a program run, and in the program have it give prompts as to what type
of value to enter. Such as:
printf("Enter 5 integers:");
scanf("%d%d%d%d%d",&x, &y,&z,&a,&b);
...
> it's probably constrained to some fixed number of entries or
necessitates
> added complexity to acommodate a variable number of entries.
Characterizing the problem as not worth solving raises its own
concerns. I hesitate to do that to someone who comes with a question.
If I didn't, I'd deserve to be a Perl monk.
...
I don't see anywhere that I characterized the problem as "not worth solving".
I pointed out how poorly it is solved with by requiring
a "prompt/response" interface.
(Of course, using a spreadsheet may also be a good way to handle a
> problem
> like this.)
I thought you were against limited, simplistic, crippled even,
implementations...
...
Now, don't make fun of cripples. However, many people are well acquainted with
and used to this particular one, so why not leverage this?
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm