latex algorithm if-else code example
Example: algorithm2e latex else if
\uIf{if condition}{
something if \;
}
\uElseIf{elseif condition}{
something elseif \;
}
\Else{
something else \;
}
\uIf{if condition}{
something if \;
}
\uElseIf{elseif condition}{
something elseif \;
}
\Else{
something else \;
}