Boolean expression using C sharp programming...

Status
Not open for further replies.

ShikenNoAce

Newbie level 5
Joined
Feb 19, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,352
Hi all,

I want to express this boolean expression using C sharp programming...Can somebody teach how to program it in C sharp. Thanks

F = {(A&B) | (A|C)} !
 

Hi,

why the not is at the end normally it is placed at the begining of the boolean expression.
So you want to perform [(A and B) or (A or C)].
so is like C, C++ and JAVA.
regards
 

F = !((a&b) | (a|c));
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…