#include
#include
#include
using namespace std;
int main()
{
srand(time(0));
setlocale(LC_CTYPE,"rus");
const int First=5;
const int Second=5;
int ArrFirst[First],ArrSecond[Second],a=0,b=0;
for(int i=0;i<5;i++)<br>{
ArrFirst[i]=rand()%20+1;
ArrSecond[i]=rand()%20+1;
a=ArrFirst[i]-ArrSecond[i];
b=ArrFirst[i]+ArrSecond[i];
cout<<a<<"\t"<<b<<"\n";<br>}
return 0;}