How do I set a number through another number

How do I set a number through another number
for example if (Vin==30until 40)

if (Vin >= 30 && Vin <= 40)  //if Vin is greater than or equal to 30 AND Vin is less than or equal to 40

thank you

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.