Re: Using get() to read multiple keyboard input
- Posted by "Hawke'" <mikedeland at NETZERO.NET> Aug 22, 2000
- 606 views
------=_NextPart_000_009F_01C00C66.6955C4C0 charset="iso-8859-1" errrrr patrat... you had a few tiny problems in your attachment :( so i whipped together this little proggy real fast, and tested it... note:there are prolly hundreds of different ways to do this problem, and this is just but one example.... enjoy!--Hawke' > > I'm curious to know whether it's possible to use get() in this situation: > > 1 ask user to type some numbers, each separated by a space > > 2 enter the whole set of numbers > > 3 read the numbers -- can you use get() here? > > 4 compute their average > > 5 display the average to screen ------=_NextPart_000_009F_01C00C66.6955C4C0 name="average.ex" Content-Transfer-Encoding: quoted-printable