• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

two condition

how to use if; the number must between 0 and 100

c++if-statements
24th Jun 2016, 10:19 AM
Si Thu Lynn
Si Thu Lynn - avatar
1 Answer
+ 3
if (x >= 0 && x <= 100) { //your code here }
24th Jun 2016, 10:32 AM
Kirill

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Question
4 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
3 Votes
generic programming understanding memory ownership
0 Votes
overloading operators << >>
1 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
Default constructor and default assignment operator
0 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes