📅  最后修改于: 2022-03-11 14:44:44.997000             🧑  作者: Mango
if( a == 10 ) {
cout << "Value of a is 10" << endl;
} else if( a == 20 ) {
// if else if condition is true
cout << "Value of a is 20" << endl;
}