Răspuns:
using namespace std;
#include <iostream>
#include <stdlib.h>
#include <math.h>
int main() //programul principal
{
int i,n,numar,n10;
cout<<"Numar de numere:";
cin>>n;
n10=0;
for(i=1;i<=n;i++) {
cout<<"Numarul "<<i<<" \n";
cin>>numar;
if (numar%10==0)
n10=n10+1;
}
cout<<"divizibile cu 10 "<<n10<<" numere(numar)!";
}