This page demistrates "if" statements and how they can be used.

Code Output

Initial Start:

Run 1:

Run 2:


Inital Start:

1st run


2nd run

Run 2:

3rd run

Run 3:

3rd run

Division with int and double:  

Div code
Div Output

Mulplication with int and double:  

Mult code
Mult Output

Boolean Example:  

bool code
bool Output

MOD Example:

MOD Code