9.1k views
5 votes
What kind of statement allows us to run a block code only if a certain condition is true? * break statement for loop if statement return statement

User Siame
by
5.3k points

1 Answer

1 vote

Answer: If statement

Explanation: An if statement is pretty self explanatory. It runs IF a certain condition is true. For instance, it might run IF the user's number is less than 2. If the user's number is more than 2, the code will not run.

User Mike Ryan
by
4.4k points