Commit 5f199f60 by rakein

Upload new file

parent baf5a5b8
Showing with 10 additions and 0 deletions
#include <stdlib.h>
#include "seeStruct.h"
double pindala(seeStruct A[], seeStruct B[], seeStruct C[], int i)
{
double S;
S = abs((A[i].x * (B[i].y - C[i].y) + B[i].x * (C[i].y - A[i].y) +
C[i].x * (A[i].y - B[i].y))/2);
return S;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment