September 2024
Beginner to intermediate
985 pages
35h 37m
English
You now know how to store different values in variables and perform calculations with them. If you remember the flowcharts and pseudocode from Chapter 1, you will also remember that a program can go through different paths depending on certain conditions.
Suppose you want to display a specific message within a web page in case a user has already logged in, and not display this message if the user is not logged in. Or you want to dynamically generate a table on a web page from a list of data, but you don't know in advance how much data is contained in the list.
For cases like these, programming languages have control structures that allow you to determine whether a block of statements should be executed ...
Read now
Unlock full access