#include using namespace std; struct point { double x, y; }; struct triangle { point points[3][3]; }; bool is_true(triangle xy[3][3], point itsPoint) { } int main() { point isPoint; triangle tr; double x, y; for (int i = 0; i != 3; i++) { cout << "Enter the location of triangle's x and y" << endl; cin >> x; cin >> y; tr.points[3][3] = { x, y }; } cout << "Another point what's belong (or not) to the triangle : "; cin >> isPoint.x >> isPoint.y; is_true(tr.points[3][3], isPoint); }