#include<stdio.h>
int main(){
int num;
scanf("%d", &num);
if(num == 0){
printf("Today, I ate 0 apple.");
}
else if(num == 1){
printf("Today, I ate 1 apple.");
}
else{
printf("Today, I ate %d apples.", num);
}
return 0;
}
洛谷 P5712 【深基3.例4】Apples C语言
最新推荐文章于 2024-07-09 08:56:27 发布