Most interesting programs will need to make a decision. What type of decision? A computer has the ability to make decisions based on a boolean expression. This can be based on a logical operator or an expression that evaluates to true or false.
Example of a decision statement
if <some condition is true> Do this else Do this
With a conditional execution, you can control the flow of the program.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More