if statment on c ++ code example
Example: if else program in c ++
if (condition) {
// block of code if condition is true
}
else {
// block of code if condition is false
}
if (condition) {
// block of code if condition is true
}
else {
// block of code if condition is false
}