C Programming Tutorial 49 – Relational Operators

In the last blog I spoke of Good Coding Practices.  Check the one out first! Are you new here? Start at the beginning, Intro to C!

In the previous videos we have worked with if statements that work with strictly true or false values.  We’ve used both bool variables and we’ve also replaced variables with actual values and learned that any number that is not zero is considered to be true. 

What if we want to change the way our if statements work and instead of consider anything not zero to be false, we want to pick our own rules with what is true and false?  This is where relational operators come in.


Continue reading “C Programming Tutorial 49 – Relational Operators”

C Programming Tutorial 48 – Good Coding Practices

In the last blog I spoke of How to Write If Statement with Boolean Variables.  Check the one out first! Are you new here? Start at the beginning, Intro to C!

This video is going to be a very short and to the point video that explains some good habits that you should have when you are starting out programming.  

Let me tell you, a lot of people hate programming. I believe one of the reasons for this is because they don’t follow what I am going to teach you in this video.


Continue reading “C Programming Tutorial 48 – Good Coding Practices”

What is React Native? With Software Engineer Laura Medalia / @codergirl_

What is React Native with codergirl_

Hi! Caleb here. We’ve been talking about JavaScript and how it’s one of the top 3 recommended languages to learn for 2019.  Why? JavaScript is very versatile and capable of building a large variety of applications: Backend development with Node.js, frontend development using frameworks such as Vue.js or React, and even native iOS and Android applications using React Native.

What do I mean by native? Native means the application is running directly on the mobile device and is not virtualized in any way such as a web app. 

With React Native, you don’t build a “mobile web app”, an “HTML5 app”, or a “hybrid app”. You build a real mobile app that’s indistinguishable from an app built using Objective-C or Java.
source

Recently I’ve had the privilege of chatting with a well known iOS software engineer, @codergirl_on Instagram. Let’s hear what she has to say (with my thoughts in gray)!


Continue reading “What is React Native? With Software Engineer Laura Medalia / @codergirl_”

C Programming Tutorial 47 – How to Write If Statement with Boolean Variables

In the last blog I spoke of how if statements work. In this blog we are going to write a very simple if statement with a bool variable! Remember that we have to have #include <stdbool.h> in our code. Are you new here? Start at the beginning, Intro to C!



This works and all and you can see that it adds a layer of functionality to our program, but this really isn’t that cool. You can see that we are selves are assigning true to the bool variable, so we wouldn’t really even need this conditional. We know it’s going to run, so we could just print what we want to print and delete the conditional.


Continue reading “C Programming Tutorial 47 – How to Write If Statement with Boolean Variables”

C Programming Tutorial 46 – If Statement 

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

The if statement is the most foundational flow control statements in programming. You are literally going to come across the if statement in probably every program you see or write. Make sure you watch the previous video as it is foundational to this one.

The if statement is foundational to branching. Branching is when your program only does something based on the truth value of some statement. The if statement can sometimes be called a conditional statement.


Continue reading “C Programming Tutorial 46 – If Statement “

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”

C Programming Tutorial 44 – Coding Challenge

Did you read the last blog? Go read it on Quiz Part 3! Are you new here? Start at the beginning, Intro to C!

You know a lot of the concepts, but now you need to practice writing some code. I am going to give you a small coding assignment. You can give it a try and then compare your answer to mine.

The Assignment:

You have a right triangle, and you are given the length of the smaller sides. Write a program that asks the user for two lengths of a right triangle, and outputs the length of the longest side (the hypotenuse).


Continue reading “C Programming Tutorial 44 – Coding Challenge”

C Programming Tutorial 43 – Quiz Part 3

Just as a reminder, up next we will be covering logic, conditionals, loops, and how to make more complex programs. But before this, I think it is important to make sure we have the previous blogs down well. These next blogs and previous blog will quiz you on some parts of C. If you have a hard time answering these question, you might want to review your notes. Are you new here? Start at the beginning, Intro to C!


Continue reading “C Programming Tutorial 43 – Quiz Part 3”

C Programming Tutorial 42 – Quiz Part 2

Just as a reminder, up next we will be covering logic, conditionals, loops, and how to make more complex programs. But before this, I think it is important to make sure we have the previous blogs down well. These next blogs and previous blog will quiz you on some parts of C. If you have a hard time answering these question, you might want to review your notes. Are you new here? Start at the beginning, Intro to C!


Continue reading “C Programming Tutorial 42 – Quiz Part 2”

C Programming Tutorial 41 – Quiz Part 1

Did you read the last blog? Go read it on How to use the Type Cast Operator! Are you new here? Start at the beginning, Intro to C!

Up next we will be covering logic, conditionals, loops, and how to make more complex programs. But before this, I think it is important to make sure we have the previous videos down well. These next few videos will quiz you on some parts of C. If you have a hard time answering these question, you might want to review your notes.


Continue reading “C Programming Tutorial 41 – Quiz Part 1”