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