This guide is brought to you by Zen Flowchart, the simplest flow chart creator.

if else flowchart
If-else Flowchart

The if-else statement executes a set of commands, called the "if" part, when a certain condition is met. If that condition evaluates to false, the "else" part will be executed instead. The if-else statement is used to either execute one set of commands or another set of commands depending on whether the initial condition evaluates to true or false.

An if-else statement is used to execute one of two blocks of code, depending on whether or not a particular condition is true.

Above is the "if else flowchart" demonstrating the steps a program goes through to execute an if-else statement. This is one of the examples of flowchart in c programming.