Click here to Skip to main content
15,891,757 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
the input take this formla
EXAMPLE


F(X,Y,Z,W)=X.Y+(W+Z).Y

ineed to parssing this function and shwo the result in the truth table
Posted

Are you asking us to do your homework for you? Cause that's what it looks like and that's not what we're here for.

If you have specific questions, ask those. Like, if you want to know how you should even set up the table, ask for suggestions. But we're not going to do the work for you.
 
Share this answer
 
This is far too complicated to answer here.

I suggest you take a look at this maths parsing article:

An extensible math expression parser with plug-ins[^]

And adapt. As you are only dealing with only logic, it should be easier than a full maths parser.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900