using namespace std;
int main(){ int t; cin>>t; while(t--) { unsigned int a,b,c,i,j; char ch; cin>>a>>b;
for(i=a+1;i<b;i++) { c=0; for(j=1;j<=i;j++) { if(i%j==0) c++; } if(c==2) cout<<i<<endl; } cout<<endl; } return 0;
}
The code is working if you write a < b.for example:23 124 15but... what is it supposed to do ?
it is Prime number form a to b ?