[Tutor] slope(x1, y1, x2, y2)???
Kent Johnson
kent37 at tds.net
Fri May 30 01:42:57 CEST 2008
On Thu, May 29, 2008 at 5:21 PM, Ulrich <ulrichhzn at gmail.com> wrote:
> I'm having problems with the exercise #3 on
> http://openbookproject.net//thinkCSpy/ch05.xhtml#auto9 . I have
> absolutely no clue how to get all my values to return "OK" in the unit
> test.
What are you having trouble with? Is it the geometry? This might help:
http://en.wikipedia.org/wiki/Slope
You will have to convert the arguments to floats to get some of the
answers right.
Kent
More information about the Tutor
mailing list