1 C Program Given Truth Values Propositions P Q Write Two Functions Find Truth Value Disju Q37041528

1) C++ Program

a) Given the truth values of the propositions p andq, write two functions that find the truth value of boththe disjunction and conjunction of p and q. Thefunctions should have the following signatures:

  • boolean find_conjunction(boolean p, boolean q)
  • boolean find disjunction(boolean p, boolean q)

b) Additionally, write a main() driver functions that willdisplay a valid truth table of p and q for bothand and or.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.