提交时间:2022-12-07 20:48:23

运行 ID: 14883

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