Post your effort thusfar. Otherwise start with, can you read a file? Can you get input from the user? If you can read from a file, read the two values at the top of it and use those for your subsequent read. Come to us with specific questions.
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581