全部评论 3

  • 666

    4天前 来自 广东

    0
  • #include <iostream>
    using namespace std;
    int main()
    {
    char x;
    cin>>x;
    if(x=='Y'||x=='y')
    {
    cout<<"Yes"<<endl;
    }
    else if(x=='N'||x=='n')
    {
    cout<<"No"<<endl;
    }
    }

    4天前 来自 广东

    0
  • #include <bits/stdc++.h>
    using namespace std;

    int main()
    {
    char c;
    cin >> c;
    if(c 'Y'|| c 'y') cout << "Yes";
    else cout << "No";
    }

    2026-03-24 来自 四川

    0

热门讨论