#include#include#define C 1void main()int i,j,k,N1,N2,x202,s3,d20,array204,w4;/s用于记录各点坐标乘积;array用于存放将输入点变换后的点printf(感知器算法(两类别问题)n);printf(请输入第1类坐标点数N1:);scanf(%d,&N1);printf(请输入第1类各点的坐标:n);for(i=0;iN1;i+)/scanf(%d,&arrayi0);scanf(%d%d,&xi0,&xi1);printf(请输入第2类坐标点数N2:);scanf(%d,&N2);printf(请输入第2类各点的坐标:n);for(i=0;iN2;i+)/scanf(%d,&arrayi0);