I need help

Nov 6, 2012 at 3:16pm
Write a program that reads the coordinates of three points from the standard input and calculates the area of the triangle defined by them. The coordinates are floating-point numbers.


Please can you do this for me , its for my friend's exam.
Last edited on Nov 6, 2012 at 3:34pm
Nov 6, 2012 at 3:20pm
Please can you do this for me , its for my exam :X


Well, no. It's for your exam. If you don't learn anything from this class, then what's the point? We'll be glad to help you though. What have you gotten done so far?
Nov 6, 2012 at 3:31pm
Well,it's not exactly for my exam ,it's for my friend's exam and i can't do it because im a begginer. I asked him but he is studying for other exam and he doesn't have time..
Last edited on Nov 6, 2012 at 3:33pm
Nov 6, 2012 at 3:38pm
How would you do this on paper? There are two reasonable ways here, using the more classic area formula of .5b * h, or using Heron's Formula (which is what I'd use) http://en.wikipedia.org/wiki/Heron's_formula.
Nov 6, 2012 at 4:16pm
Can you do it please.
Nov 6, 2012 at 4:23pm
I have to study a lot more when i could do it
Nov 6, 2012 at 4:37pm
Can you do it please.


I can. But I won't.
Topic archived. No new replies allowed.