Simple If Statements in C Language

aimtocode
Simple if Statement

Simple if statement is used to execute or skip on one statement or set of statements for a particular condition.

Syntax:

Flowchart:

Example:



Output:

  x is greater than y


Read Also:


aimtocode