📜  如何在 C++ 代码示例中执行 if 命令

📅  最后修改于: 2022-03-11 14:44:49.035000             🧑  作者: Mango

代码示例1
#include 

include namespace std;

int main() {
    int flourBagCount = 16;

     if (flourBagCount < 15) {
        cout << "There are not enough bags of flour in inventory."
    } else {
        cout << "There are enough bags of flour in inventory."
    }
}