How to properly write ranges (such as 0 < x < 10) in C++?

Computer Science
Tutor: None Selected Time limit: 1 Day

  • How to properly write ranges (such as 0 < x < 10) in C++?
Oct 31st, 2014

In c++ you need to write in if statement

if(x>0&&x<10)

{

your Statement;

}

Oct 31st, 2014

Are you studying on the go? Check out our FREE app and post questions on the fly!
Download on the
App Store
...
Oct 31st, 2014
...
Oct 31st, 2014
Dec 5th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer