Browse Source

correcting the rectangle readme

content-update
lee 5 years ago
parent
commit
f6097d1cb6
  1. 6
      subjects/rectangle.en.md

6
subjects/rectangle.en.md

@ -12,10 +12,8 @@ is defined by the points of the upper left and lower right corners.
- The struct `rectangle` has to have two variables, `upLeft` and `downRight` type `point`.
- Our main task is to make a program that:
- Given a slice of points of size `n` returns the smallest rectangle that contains all the points in the vector of points. The name of that function is `defineRectangle`
- And calculates and prints the area of that rectangle you define.
- Given a slice of points of size `n` returns the smallest rectangle that contains all the points in the vector of points. The name of that function is `defineRectangle`.
- And calculates and prints the area of that rectangle you define.
### Expected main and function for the program

Loading…
Cancel
Save