#include "stdafx.h"
#include
#include
using namespace std;
int main ()
{
unsigned short int x1,y1,x2,y2;
cout << "Input x1: ";
cin>> x1;
cout<
cin>> y1;
cout << "Input x2: ";
cin>> x2;
cout<
if ((abs(x2-x1)!=1) || (abs(y2-y1) !=2))
{cout<<"NOT";} else
{cout<<"OK"<
system("PAUSE");
return 0;
}
Если ответ по предмету Информатика отсутствует или он оказался неправильным, то попробуй воспользоваться поиском других ответов во всей базе сайта.