An "if-then" statement in coding is like a rule that says, "If this thing is true, then do this action.". It's a way for the computer to make a decision based on whether something is happening or not, and then perform a specific task depending on that decision, kind of like saying "If it's raining outside, then bring an umbrella.".
A person that writes, modifies, test codes & scripts that allow computer software and applications to function properly.
Computers use CODING LANGUAGE to understand what people want them to do.
Python, C++, Java, JavaScript are some examples of CODING LANGUAGE.
For example, BLOCKLY GAMES using JavaScript for its CODING LANGUGE.
Example of LOOPING when coding.
LOOPING
Looping is the action of doing something over and over again.
Loops are a set on instructions that REPEAT.
Example of an ALGORITHM when coding.
ALGORITHMS
An algorithmis a set of instructions that are followed to solve a problem. It's a computer's thought process.
An algorithm that has been coded into something that can be run by a machine is called a PROGRAM.
Example of anIF-THEN STATEMENT.
Conditional Statement
If- Then Else Statement
An "if-then" statement in coding is like a rule that says, "If this thing is true, then do this action.". It's a way for the computer to make a decision based on whether something is happening or not, and then perform a specific task depending on that decision, kind of like saying "If it's raining outside, then bring an umbrella.".
A student is giving this computer program a command.
A COMMAND
A directive to a computer program to perform a task.
When we tell a computer program what to do we gve the computer a COMMAND.