大佬帮忙看看错哪了
查看原帖
大佬帮忙看看错哪了
1437796
llhhss楼主2024/9/2 17:39
#include<bits/stdc++.h> 
using namespace std;

int main()
{
	int n;
	cin>>n; 
	if(n==1)
	{
		cout<<"Today, I ate 1 apple";
	}
	if(n==0)
	{
		cout<<"Today, I ate 0 apple";
	}
	if(n!=1&&n!=0)
	{
		cout<<"Today, I ate "<<n<<" apples";
	}
	return 0;
}
2024/9/2 17:39
加载中...