20分求助!
查看原帖
20分求助!
678031
ToubleMakerLRY楼主2023/3/11 15:19

我也不知道这个哪里错了,但是貌似只有第二个点过了……

#include<bits/stdc++.h>
using namespace std;
int main(){
    int n;
    if(n==0||n==1){
        cout<<"Today, I ate "<<n<<" apple."<<endl;
        return 0;
    }
    else {
        cout<<"Today, I ate "<<n<<" apples."<<endl;
        return 0;
    }
    return 0;
}

2023/3/11 15:19
加载中...