Using If-Else Statements in C Programming

# Introduction In C programming, the `if` `else` statement is used to execute a block of code conditionally. If the condition specified in the `if` statement is true, then the code inside the `if` block is executed, otherwise, the code inside the `else` block is executed. In this lab, you will learn how to use the `if` `else` statement in C programming language.

|60 : 00

Click the virtual machine below to start practicing