How I can Check if numbers are in a specific range : I'm beginner:( 
How I can Check if numbers are in a specific range ?
for example 
I have to find an number between 0 to 500

    int k = 200;
if (k<=0 && k>500){
	if (k<=0 && k>249){