cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Truth Table
Truth Table
Dec 15, 2012 at 12:29pm UTC
shahbazsaleem
(23)
Please Give me C++ source code to create a truth table for any No. of variables
For Example: for 3 variables truth table should be as
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Dec 15, 2012 at 12:32pm UTC
Volatile Pulse
(1543)
*Hands shahbazsaleem the source code for the best truth table ever!* Shhh! Don't tell anyone ;)
In all honesty, start here:
http://www.cplusplus.com/doc/tutorial/operators/
Topic archived. No new replies allowed.