Răspuns:
5.
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
for(a=2;a<=8;a=a+2)
for(b=0;b<=8;b=b+2)
for(c=0;c<=8;c=c+2)
cout<<a<<b<<c<<" ";
return 0;
}
6.
#include <iostream>
using namespace std;
int main()
{
int a,b,i;
cin>>a>>b;
for (i=a+11-(a%11);i<=b;i=i+11)
if(i%11==0)
cout<<i;
return 0;
}