#include<stdio.h>
int main(void)
{
int n,g;
scanf("%d",&n);
if ( n%5 ==4 || n%5==0 ){
printf("Drying in day %d", n);
}
else{
printf("Fishing in day %d", n);
}
return 0;
}
C语言 三天打鱼两天晒网
最新推荐文章于 2024-08-16 11:58:51 发布
#include<stdio.h>
int main(void)
{
int n,g;
scanf("%d",&n);
if ( n%5 ==4 || n%5==0 ){
printf("Drying in day %d", n);
}
else{
printf("Fishing in day %d", n);
}
return 0;
}