JAVA Program to generate truth Tables

saif at 21h04
23
Feb
2010
JAVA Program to generate truth Tables

I just made a prog. to generate truth table for three variable expression of type a.b+b.c+c.a+a.b.c+ .....
(single variable not allowed in expression)(input should be in ablove format only)


Enter 3 Vriable expression with a,b,c
a.b+b.c+c.a
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1

Enter 3 Vriable expression
About
This topic belongs to the forum
  • Numbers of topics : 1431
  • Numbers of messages : 8652
  • Numbers of users : 6367
  • Numbers of points : 103
Similar topics
class out { void main() { int a=1; switch(a) { case '1': { System.out.print("ONE\n"); break;} case '2':
Way to write computer ix x project program ICSE This is a sample program 4 computer java project you can know the way to write progs. by seeing this... Always remember to write variable description and comments import
Suppose, I have given inputs in a window(like textfield, textarea, combobox etc.). Based on the information I need to write something in a .pdf file. How can I do it? Please reply me quickly.
Interesting ............... very very interesting .............. Code: public void doSomething( boolean verify ) { if (verify) {  // do something } else if (!verify) {  // do some other
class Str { public static void main(String args[]) { String a[]=new String[1]; System.out.println(a[0]); } } ====================================================== remember the output of this program is:- null if u run this prg in bluej
Forums from same category
  • Where we can talk freely with normal people.

  • Discusess all about ibpsexam preparation tips po's and Clerk

  • Free forum : I am a third year undergraduate student of IIT Kharagpur. The purpose behind making this forum is to bring all the IAS aspirants at one platform where they can share their study tips and

  • Free forum : AIEEENOW provides you a platform where you can discuss all your queries related to AIEEE, IIT and others amongst yourself. Counselling Experts would also guide you in counselling from tim

  • IT INCLUDE EACH AND EVERY ASPECT OF THE INTERNET ABOUT WHICH YOU WANT AND INFORMATION AND WANT TO SHARE KNOWLEDGE.

  • USMLE Forum USMLE STEP 123 Medical Books PG Entrance Exams

See also
more_less
Informations

2 Replies For the topic :
"JAVA Program to generate truth Tables"

This topic has been viewed 2307 times.

Last message :
23/02/2010 at 21h04 by "saif"