求助!(为什么0分)
查看原帖
求助!(为什么0分)
749219
Eva_91418楼主2022/7/11 21:01
#include<iostream>
using namespace std;
int main()
{
    int x;
    cin>>x;
    if(x==0||x==1)
        cout<<"Today,I ate"<<" "<<x<<" "<<"apple.";
    if(x>1&&x<=100)
        cout<<"Today,I ate"<<" "<<x<<" "<<"apples.";
    return 0;
}
2022/7/11 21:01
加载中...