1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

If statements, boolean algebra,AND NOT OR

Discussion in 'C++' started by AidanPaine, Feb 27, 2009.

  1. AidanPaine

    AidanPaine New Member

    Joined:
    Feb 26, 2009
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Security Guard
    Location:
    NY
    Reading the tutorial on if statements, lesson two on cprogramming.com has made my face melt.
    I am horrifically thrown off, and no matter how much I reread, or try to understand, my brain is mushed, and I can't process it.
    I even tried reading aloud.
    Can some one break these topics down Barney style for me?
    If you can, that would be most appreciated.
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    The simple is thinking logically

    Code:
    if(some condition is true)
    {
      The following lines will be executed
    }
    else
    {
      The following lines will be executed
    }
     

Share This Page