#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int i ,j,br;
for (i=1; i<=1000;i++)
for(j=i;j<=1000;j++)
{if((i*j)==10*(i+j))
cout<<i<<“ „<<j<<endl;
}
br=0;
for (i=1; i<=1000;i++)
for(j=i;j<=1000;j++)
{if((i*j)==10*(i+j))
br=br+1;
}
cout<<„Samo „<<br<<“ kombinacija ima tu osobinu“<<endl;
system(„PAUSE“);
return EXIT_SUCCESS;
}