Question: using Cpp only Declare a struct point with 2 member variables x and y (integers) to indicate the coordinate of a given point. a. (5
using Cpp only
Declare a struct point with 2 member variables x and y(integers) to indicate the coordinate of a given point.
a. (5 pts) Write a function isIdentical to check whether 2 given points are the same
b. (5 pts) Write a function distance2Points to calculate the distance between 2 given points
c. (10 pts) Write a function isTriangle to check whether 3 given points form a triangle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
