📜  运行 cmd 命令 c++ 代码示例

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

代码示例2
#include 
using namespace std;

int main() {
    
    int age = 18;
    if (age >14) {
        if (age >=18) {
            cout << " Adult";
        }
        else { 
        cout << "teeneger";
        }
    } else {
        if (age >0) {
            cout <<"child";
        }
        else {
            cout << "something wrong";
        }
    }
    return 0;
}