Originally Posted by
Adak
I don't know of anything special to use for this. If the prof hasn't given you any hint of what he wants, then I'd try to take the given value, and first, find it's x value within the range of the graph - corresponding to the row on the screen. Then repeat for the y value, which would correspond to the column on the screen.
It's easier to use an array because you are referring to one object element at a time, yet it holds all the other array values, as well. Still, it can be done "on the fly".
I use Turbo C/C++ 1.01, so your options may be different than mine.