mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-23 15:48:42 +00:00
18 lines
234 B
C
18 lines
234 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
int n;
|
|
|
|
scanf("%d", &n);
|
|
|
|
int d = n % 5;
|
|
|
|
if (1 <= d && d <= 3) {
|
|
printf("Fishing in day %d\n", n);
|
|
} else {
|
|
printf("Drying in day %d\n", n);
|
|
}
|
|
|
|
return 0;
|
|
}
|