Velma and her husband Victor run a full service veterinary clinic. They would like a program to help them calculate costs for their clients. Victor, who is the vet, charges a flat fee of $100 for medical services and a flat fee of $50 for shots. Velma does the grooming. She charges a flat fee of $20 to groom dogs, except for poodles. She charges an extra $15 for poodles. She charges $40 to bathe cats. Velma and Victor also board animals at the clinic. The fee to board a cat is $15/day. A small dog is $20/day. A large dog is $25/day. Velma encourages owners to have their pets groomed while they are being boarded. (Dogs sometimes start to smell after a few days in the kennel, so it's really nice to give them a good bath before the owners pick them up.) In order to entice people to do this, Velma offers a discount for the combination of grooming and boarding. This discount is calculated based on the length of time in the kennel. If they were boarded for 3 days or less, the discount is 10% off the grooming. If they were boarded more than 3 days, then it is a 20% discount. Many times people bring in more than one of their pets at the same time, so make sure the program loops back up if they have more animals. (Hint: Notice the loop here.) The program should print out the total amount for the pet owner. I need to do the pseudocode for this problem.

Sure! Here's a pseudocode solution for the problem:

```
Set totalAmount to 0

Prompt the user for the number of pets they have
Set numOfPets to the user's input

Loop for each pet:
Prompt the user for the type of pet
Set petType to the user's input

Prompt the user for the number of days to board the pet
Set numOfDays to the user's input

// Calculate cost for medical services and shots
Set medicalCost to 100

// Calculate cost for grooming
If petType is 'poodle' Then
Set groomingCost to 20 + 15 // Additional $15 for poodles
Else
Set groomingCost to 20

// Calculate cost for bathing cats
If petType is 'cat' Then
Set bathingCost to 40
Else
Set bathingCost to 0 // No bathing cost for non-cats

// Calculate cost for boarding
If petType is 'cat' Then
Set boardingCost to 15 * numOfDays // $15 per day for cats
Else If petType is 'small dog' Then
Set boardingCost to 20 * numOfDays // $20 per day for small dogs
Else If petType is 'large dog' Then
Set boardingCost to 25 * numOfDays // $25 per day for large dogs

// Calculate discount for grooming and boarding combination
If numOfDays <= 3 Then
Set discount to groomingCost * 0.10 // 10% discount
Else
Set discount to groomingCost * 0.20 // 20% discount

// Calculate total amount for the pet owner
Set petAmount to medicalCost + groomingCost + bathingCost + boardingCost - discount
Add petAmount to totalAmount

End of loop

Print totalAmount
```

This pseudocode allows for multiple pets to be processed by using a loop, and calculates the total amount to be paid by the pet owner based on the type of pet, number of days boarded, and any applicable discounts.