Răspunsuri

2014-09-30T15:23:11+03:00
#include <iostream>
using namespace std 
int v[100];
int main ( )
{ int a,b,n,i;
 cin>>a>>b>>n;
for(i=1;i<=n;i++)
{cin>>v[i];
if(v[i]>a&&v[i]<b)
cout<<v[i]<<" ";
}
}