<p>If your talking about programming, most languages default to include and and not b unless explicitly corrected. If your talking about a math or computer science problem, the problem must state explicitly if it's included or not. If it is  not mentioned, it's basically a 50/50, though I'm pretty sure it's generally accepted that if it is not mentioned. you can default to &quot;inclusive&quot;.</p>

CC BY-SA 4.0
2020-06-24T14:53:45.903Z
2020-06-24T14:53:45.903Z
rparra
<p>I have not found the answer to this doubt of mine elsewhere, hence posting it here. <br>
It may be a silly question but I just want to be sure :P <br>
would be great if someone could help me out with this doubt!</p>

CC BY-SA 4.0
2020-06-21T06:08:14.153Z
It is generally explicitly mentioned if 'a' or 'b' is included or excluded. Otherwise, the set notation for open interval: (a,b) means neither 'a' nor 'b' is included. On the other hand [a,b) means 'a' is included and 'b' is not included. Likewise, you can use '[' or ')' accordingly.
Inuyasha Yagami
CC BY-SA 4.0
2020-06-21T13:01:47.100Z
@Inuyashayagami I see. but incase no brackets are given and nothing 'inclusive' or 'exclusive' given ?
dagwood
<co.combinatorics><counting-complexity>
does within the "range a and b" include a and b?
dagwood
# does within the "range a and b" include a and b?

(Asked by: username_0 on 2020-06-21)

I have not found the answer to this doubt of mine elsewhere, hence posting it here.   
It may be a silly question but I just want to be sure :P   
would be great if someone could help me out with this doubt!

**Tags:** co.combinatorics, counting-complexity

> **Comments:**
> **username_1**: It is generally explicitly mentioned if 'a' or 'b' is included or excluded. Otherwise, the set notation for open interval: (a,b) means neither 'a' nor 'b' is included. On the other hand [a,b) means 'a' is included and 'b' is not included. Likewise, you can use '[' or ')' accordingly.  
> **username_0**: @Inuyashayagami I see. but incase no brackets are given and nothing 'inclusive' or 'exclusive' given ?  

---

## 1 answers

### Answer by username_2 on 2020-06-24. Score: 0

If your talking about programming, most languages default to include and and not b unless explicitly corrected. If your talking about a math or computer science problem, the problem must state explicitly if it's included or not. If it is not mentioned, it's basically a 50/50, though I'm pretty sure it's generally accepted that if it is not mentioned. you can default to "inclusive".


---

