write a program to display pet adoption information. For example: Input Result 2 3 Enter the number
Fantastic news! We've Found the answer you've been seeking!
Question:
write a program to display pet adoption information.
For example:
Input | Result |
---|---|
2 3 | Enter the number of puppies: 2 Enter the number of kitties: 3 You have adopted 2 puppies and 3 kitties. The insurance fee is $170. |
0 2 | Enter the number of puppies: 0 Enter the number of kitties: 2 You have adopted 0 puppies and 2 kitties. The insurance fee is $60. |
3 0 | Enter the number of puppies: 3 Enter the number of kitties: 0 You have adopted 3 puppies and 0 kitties. The insurance fee is $120. |
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: