February 2022
Beginner
848 pages
22h 40m
English
Most applications behave differently in different situations and with different user input. To program an application to respond differently, you need to code conditional statements that execute different code segments in different situations.
In this lesson, you find out
■ How to make your program behave differently in certain conditions
■ How to execute a section of code repeatedly in a loop
■ How to better control the flow of execution in a loop
if...elsePrograms you have seen and composed thus far have a serial order of execution: from the top down. Every line has been executed, with no line ever ignored. However, serial execution of all lines of code in a top-down fashion ...
Read now
Unlock full access