Thursday
September 18, 2014

Homework Help: Logic and Design

Posted by David on Monday, May 24, 2010 at 2:12pm.

Hi, I need help with my program and logic Homework. Here is the problem:

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.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Programming Design - Velma and her husband Victor run a full service veterinary ...
heiarchy chart needed out of this information pls - VELMA'S VET Velma and her ...
Logic and Design - I need help with pseudocode, and any help regarding forming ...
Programming Logic and Design - This is my 3rd time posting this problem because ...
Program Logic Design - create a flowchart that shows the logic for a program ...
discrete mathematics - problem has to do with three valued logic, ie the values ...
Logic and Design - What logic is used when pseudocoding compound conditions?
Programming and Design - Draw the hierarchy chart and design the logic for a ...
Computer Science (Programming Logic And Design) - Create a program that outputs ...
Computer Science (Programming Logic And Design) - Create a program that outputs ...

Search
Members