 GreenDjai 
                                                23.05.2019 03:10
                                                
                                                GreenDjai 
                                                23.05.2019 03:10
                                             NarutoUzumaki1999 
                                                01.12.2021 20:50
                                                
                                                NarutoUzumaki1999 
                                                01.12.2021 20:50
                                             vovaq6oziu5d 
                                                01.12.2021 20:51
                                                
                                                vovaq6oziu5d 
                                                01.12.2021 20:51
                                             Лобан1 
                                                17.05.2019 16:29
                                                
                                                Лобан1 
                                                17.05.2019 16:29
                                             Робобот1 
                                                17.05.2019 18:00
                                                
                                                Робобот1 
                                                17.05.2019 18:00
                                             kolya1123 
                                                17.05.2019 16:30
                                                
                                                kolya1123 
                                                17.05.2019 16:30
                                             ekaterinaf79 
                                                17.05.2019 16:35
                                                
                                                ekaterinaf79 
                                                17.05.2019 16:35
                                             anast1sava 
                                                19.10.2020 05:53
                                                
                                                anast1sava 
                                                19.10.2020 05:53
                                             Allery 
                                                19.10.2020 05:53
                                                
                                                Allery 
                                                19.10.2020 05:53
                                             star5647 
                                                19.10.2020 05:53
                                                
                                                star5647 
                                                19.10.2020 05:53
                                            
//c++
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a[1000]={}, c=0, res=0;
for(int i=0; i<1000; i++)
{
cin>>a[i];
c++;
if(a[i]==0)break;
}
for(int i=0; i<c; i++)
{
if(a[i]%4==0 || a[i]%9==0)res++;
}
cout<<res<<endl;
return 0;
}
Объяснение: