Question
Program Language: C++ Before you start: 1) Don't use define or printf or other program that above the college level. (Using cout and cin, string,
Program Language: C++
Before you start:
1) Don't use define or printf or other program that above the college level. (Using cout and cin, string, char,structure etc..)
2) Please each output should have a limit
Name) should output the error message when user try to put blank, only up to 10 characters. More than 10 characters should print out error message too.
Age) No negative number, which outputs the message if the user puts a negative number.
Breed) up to 10 characters, and also output the error message when user input blank
weight) No negative number allow, which output the message if the user puts a negative number.
Amount) No negative number allow, which output the message if the user puts a negative number
example programming
A menu-driven program that allows my friend, the dog trainer, to store information about his dogs including dog name, age, breed, weight, food, and amount to feed Offer the trainer the following menu that loops until they choose option 5. 1. Input a dog's information. 2. Edit a dog's information 3. Search for a dog and display 4. Display all dogs 5. ExitStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started