```1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 ``` ```#include #include #include #include struct pt {int num;int x;int y;}; struct line {int y;int x;float k;int b;}; struct ptD3 {int numD1;int numD2;int x;int y;}; int inorout(struct pt *,struct pt *,struct pt *);//Zapolnenie D2 void enterarr(struct pt *);//Zapolnenie D1 struct line getline(int x1, int y1, int x2, int y2); int main() { int i,sizeD1,sizeD2,sizeD3; float R=7.2; struct pt mug[4]={1,1,1 , 2,15,1 , 3,10,8 , 4,2,14},line[2]={5,-1,-1 , 6,8,15},D1[20],*D2; sizeD2=0; sizeD3=0; printf("Vvedite koordinati tochek parami cherez probel.\nroordinati tochki v promezhutke 0<=x<=20 & 0<=y<=20\n"); enterarr(D1); D2=(struct pt*)malloc(sizeof(struct pt)*5); sizeD2=inorout(D1,D2,mug); for(i=0;i<20;i++) { printf("%d %d %d\n",D1[i].num,D1[i].x,D1[i].y) ; } getch(); return 0; } void enterarr(struct pt *arr) { int i; for(i=0;i<20;i++) { arr[i].num=i+1; printf("Enter x and y of point N%d\t",arr[i].num); scanf("%d %d",&(arr[i]).x,&(arr[i]).y); if(((arr[i]).x < 0 || (arr[i]).x > 20) || ((arr[i]).y < 0 || (arr[i]).y > 20)) { i--; printf("\tERROR: 0<=x<=20 & 0<=y<=20. REPEAT\n"); } printf("\n"); } } int inorout(struct pt *arr1,struct pt *arr2,struct pt *mug) { int i,j,size; struct line mug_lines[4]; size=0; for(i=0;i<4;i++) { //mug_lines[i]=getline(); } for(i=0;i<20;i++) { } return size; } struct line getline(int x1, int y1, int x2, int y2) { int delta_y,delta_x; struct line temp; delta_x=x1-x2; delta_y=y1-y2; temp.k=delta_y/delta_x; temp.b=delta_y-delta_x*temp.k; temp.x=delta_x; temp.y=delta_y; return temp; } ```
 ```1 ``` ```Line 18: error: conio.h: No such file or directory ```