C Programming Tutorial 45 – Intro to Logic

Did you read the last blog? Go read the coding challenge! Are you new here? Start at the beginning, Intro to C!

This blog is going to be an introduction to logic. Now, the term logic can be used for a lot of different things, but in computer science it is specifically talking about things being true or false.

When we claim something, we are making what is known as a statement. A statement is a claim that is either true or false, but not both. This is a little different than statement in computer science which tells the computer to do something. The statement in logic is often called an expression in computer science.

Continue reading “C Programming Tutorial 45 – Intro to Logic”