Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C
If statement that tests if a value is in range
Michael Stroud
Programming language:
C
2021-03-06 18:06:03
2
Q:
If statement that tests if a value is in range
Enigma
Code:
C
2021-04-04 01:03:31
if ((x >= xmin) && (x <= xmax)) { // something }
1
Tags
value
state
statement
New to Communities?
Join the community