Thread: my assignment

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    my assignment

    Write a C program that will generate a three-input truth table for the following Boolean expression.
    F(A;B;C) = AB+AC+ABC
    Last edited by dalma; 03-15-2011 at 04:11 PM.

  2. #2
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    That's not a boolean expression. There is no addition or multiplication defined on R2. Also, it's unlikely you will get anyone to do your homework for you.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    90
    I think in this notation, AB means A AND B, and A+B means A OR B.

  4. #4
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    I'll give you a hint dalma: you'll need to use the C logical operators, && and ||.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Menu
    By Krush in forum C Programming
    Replies: 17
    Last Post: 09-01-2009, 02:34 AM
  2. Assignment Operator, Memory and Scope
    By SevenThunders in forum C++ Programming
    Replies: 47
    Last Post: 03-31-2008, 06:22 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Help with a pretty big C++ assignment
    By wakestudent988 in forum C++ Programming
    Replies: 1
    Last Post: 10-30-2006, 09:46 PM
  5. Replies: 1
    Last Post: 10-27-2006, 01:21 PM