include
int main(void)
{
int amount,a;
printf("Do you have any dog?Please input 'Y'or'N'\n");
scanf("%c",&a);
if(a == Y)
{
printf("Please input the amount of the dogs you have.\n");
scanf("%d",&amount);
printf("You have %d dog(s).\n",amount);
}
else if(a == N)
{
printf("Oh,it's a pity.\n");
}
return 0;