Control Statements
Lets pick up with a coding fundamental principle of Control Statements. Control statements help direct how a program runs. They work by checking certain conditions and then deciding what the program should do next. This way, the program can react differently depending on the information it has. Today you will learn about two kinds of control statements:
Decision Control Statements -
if
/else
Loop Control Statements -
for
loops