ootsoo Posted August 2, 2005 Posted August 2, 2005 Hi An algorithm has to be devised to fill the truth table for n variables as 2^n combination.Thanks and regards.
mentalindustrie Posted August 2, 2005 Posted August 2, 2005 http://www.msfn.org/board/index.php?showforum=66would be a more appropriate forum to post it in i thinkThe Developers Center > Programming (C++, Delphi, VB, etc.)which language are you wanting to write this in?or do you just want a mathmatical formula?http://sciris.shu.edu/~borowski/Truth/that site may or maynot help:Shas source code as well
ootsoo Posted August 2, 2005 Author Posted August 2, 2005 Hi,An algorithm has to be devised to fill the truth table for n variables as 2^n combination.for example,if i give n as 3, theni need combinations as000 001010100110101011111Thanks and regards.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now