if (boolean expression) then-Statement else else-Statement
if (boolean expression) { statements; } else { statements; }
if (boolean expression) { statements; } else { statements; }
if (boolean expression) { statements; } else { statements; }
bool flag; if (flag == true) { cout << "true"; } else { cout << "false"; }
bool flag; if (flag = true) { cout << "true"; } else { cout << "false"; }
bool flag; if (true == flag) { cout << "true"; } else { cout << "false"; }
bool flag; if (flag) { cout << "true"; } else { cout << "false"; }