if(warunek){ instrukcja1; instrukcja2;else{ instrukcja3;}
Przykład.
if(liczba>0) cout<<"dodatnia";else if(liczba<0) cout<<"ujemna";else cout<<"zero";