ootsoo Posted August 2, 2005 Share 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. Link to comment Share on other sites More sharing options...
mentalindustrie Posted August 2, 2005 Share 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 Link to comment Share on other sites More sharing options...
ootsoo Posted August 2, 2005 Author Share Posted August 2, 2005 hii need to write it in c++.thanks Link to comment Share on other sites More sharing options...
ootsoo Posted August 2, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Martin L Posted August 2, 2005 Share Posted August 2, 2005 moved Link to comment Share on other sites More sharing options...
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