Introduction to Conditionals
A brief overview of conditionals and their importance.
We'll cover the following
Background
A programmer always wants to control the flow of the program. When she codes, she wants to put as little effort as possible to translate her ideas into lines of code.
Let’s imagine that we want to write a program to solve a problem. Let’s say the only way to solve the problem is to change a variable’s value to 0 if 1 or 1 if it is 0.
Get hands-on with 1400+ tech skills courses.