Barking Lot Dog Boarding Facility One Required Program Would Prompt User Dog S Id Number N Q37193279

The Barking Lot— is a dog boarding facility. One requiredprogram would prompt the user for a dog’s ID number and the numberof days the dog will be boarded. Any time the user enters aninvalid value, continue to reprompt the user for the same data.Invalid values are: 1) An ID number for the dog that is less than1000 or greater than 1999, and 2)A number of days for boarding thatis not between 1 and 31 inclusive.

When the user enters a dog’s ID, determine the dog’s name andweight from Table 5-16. If the dog’s ID does not appear in thetable, prompt the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.