> Could anyone help I am having trouble reading in information 
> from STDIN
> 
> For coding see attached file
> 
> Using a while loop I want to do the following:
> Read info in from STDIN
> Read in any number of name/value pairs,
> Read in names in pairs of two, and compute their sum.
> Choose the maximum of all those pairs and print it.
> At the same time choose the minimum and print it.

Your code looks fine to me - what exactly is going wrong? How are you
giving the data to STDIN (you do know that you have to hit enter each
time you want STDIN to read what you've typed, right?)?

 -dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to