Răspuns:
{
int n,i,j,a,b;
cout<<"n=";
cin>>n;
cout<<"a=";
cin>>a;
do
{
cout<<"b=";
cin>>b;
}while(a>b);
for(i=a;i<=b;i++)
for(j=a;j<=b;j++)
if((i+j)%2==0)
cout<<"["<<i<<","<<j<<"]"<<endl;
return 0;
}
Explicație:
Multumesc+5*+cel mai inteligent raspuns?