Skip to content

comsavvy/Perimeter

Repository files navigation

Perimeter

This project is about:

  • Reading from a files containing points
  • Calculating the perimeter of one point to the other
  • Finding the maximum and minimum perimeter
  • Average length of all the perimeter
  • Sum of all the perimeter
  • Passing the files from the command prompt
  • Saving the return values of the summarize points to a text file called total_output.txt
  • Making sure the Point class can accept any length of point.

The two available module that can process points are

Both of this two file can accept any files containing point, but the main difference is that;

while

./perimeter example* datatest* testing_many_dimension.txt