Răspunsuri

2014-11-01T16:18:58+02:00
# include<iostream>
using namespace std;
int main()
{
unsigned n,nr=0,d;
cin>>n;

for(d=2;d<=n/2+1;d++)
      if(n%d==0)
         nr++;
cout<<"Numarul "<<n<<" contine "<<nr<<" divizori proprii";
return 0;
}
1 5 1