4.if

#include <bits/stdc++.h>
using namespace std;
int main(){
    int x;
    cin >> x;
    /*
        if(條件){
            .......
            .......
        }
        else{
            ......
            .......
        }
    */
    if(x > 87) cout << "mushroom" << endl;
    else cout << "香菇" << endl;
    return 0;
}

results matching ""

    No results matching ""