i have to write a program that gives the truth table of the digital logic circuit(with only logic gates like AND,OR,EXOR etc.)the circuit is user defined. i'm in trouble with defining the circuit which the user gives. for example maybe like pspice,but ı can not find any way...please help me,its urgent...