Skip to content

tuyenhv/exercise_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

exercise_1

Requirement

Input N points A(x0, y0), B(x1, y1), ...

  1. How many lines created by the N points.
  2. How many triangle created by the points and caculate the areas of the triangles.
  3. Find the points of polygon included all the points and caculate the areas of the polygon.

How to build

Run $ make or run $ gcc main.c -o main -lm

How to run

Run $ ./main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published