| Author |
Comment/Response |
Manali yavatkar
|
09/10/05 2:41pm
Hi
> >
> >I am a middle schooler and new to Mathematica. I am trying to write a
> program which will read up to 100 integers from keyboard or a file. Can
> someone point me to sample program or information on how to do that?
> >
> >I know how to write a loop, etc, where I am stuck is how to read from the
> keyboard what I type in as integer inputs
> >
I have tried the following lines in a .nb file with a data file that has spaceseparated 10 integers on a line
.nb file has:
myList = {}
myList = Import("data1.txt", "Integer")
Thanks
Manali
URL: , |
|