# Problem writing condition statement

**URL:** <https://forum.kirupa.com/t/problem-writing-condition-statement/120953>\
**Category:** Uncategorized\
**Created:** [August 29, 2004, 8:30am UTC](https://forum.kirupa.com/t/problem-writing-condition-statement/120953 "2004-08-29T08:30:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)\
**Post date:** [August 29, 2004, 8:30am UTC](https://forum.kirupa.com/t/problem-writing-condition-statement/120953/1 "2004-08-29T08:30:57Z")

</div>

ok heres what I’m trying to do, basically what I need is something like

if(a.\_x \> 100 and b.\_x \> 100 and c.\_x \>100){  
//do action  
}

But what I want here is say both a and c were greater than 100 then I want them to preform the action and b does nothing. I looked around in the refference and && and || didn’t seem to work. Anyone knows what this line of code should be?
