求大佬不知道错那
查看原帖
求大佬不知道错那
1184691
dzy35040124楼主2024/5/18 09:35
#include<stdio.h>
int main()
{
	int x;
	scanf("%d",&x);
	if(x==1){
		printf("Today, I ate 1 apple.");
	}
	if(x>1&&x<=100){
		printf("Today, I ate %d apple.",x);
	}
	else{
		printf("Today, I ate 0 apple.");
	}
	return 0;
 } 
2024/5/18 09:35
加载中...