Programul este scris in MinGW
#include<iostream.h>
int main()
{
unsigned int n,k=0,i;
float a,nr;
cout<<"n=";cin>>n;
cout<<"a=";cin>>a;
for(i=1;i<=n;i++)
{
cout<<"nr"<<i<<"= ";
cin>>nr;
if(nr>=a)
k++;
}
cout<<"S-au citit "<<k<<" numere => "<<a;
return 0;
}