C if Statement
The syntax of the if statement in C programming is:

if (test expression)
{
// statements to be executed if the test expression is true
}
How if statement works?
The if statement evaluates the test expression inside the parenthesis ().

If the test expression is evaluated to true, statements inside the body of if are executed. If the test expression is evaluated to false, statements inside the body of if are not executed.

Program to display a number if it is negative
output:
File1.7.png

  
Put the parts in order to form a sentence. When you think your answer is correct, click on "Check" to check your answer. If you get stuck, click on "Hint" to find out the next correct part.