Please enable JavaScript to use CodeHS

CodeHS Glossary


If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.