实验3-9 三天打鱼两天晒网
作者:互联网
#include<stdio.h>
#include<math.h>
int main()
{
int n;
scanf("%d",&n);
int a;
a=n%5;
if(a<=3){
printf("Fishing in day %d",n);
}
if(a>3){
printf("Drying in day %d",n);
}
return 0;
}
标签:printf,两天晒网,return,int,scanf,Drying,实验,三天打鱼,include 来源: https://blog.csdn.net/weixin_62519708/article/details/122275658