Party planner

Tags
Challenge
No

You run a dog party company. Write a program to estimate expenses, based on the number of dogs and pups who'll be invited.

dogs and pups are GET input variables. You can try the program:

http://webappexamples.skilling.us/html/exercises/party-planner/party-planner.php?dogs=52&pups=38

Use 15% for the gratuity. Here are the costs per invitee:

Expense type Per dog Per pup
Food 28 14
Drinks 19 32
Games 18 9
Gifts 12 29
Clean up 17 58

Submit the URL of your solution, and a zip of your PHP file.

Where referenced