Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

example programming

image text in transcribed

image text in transcribed

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. Exit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions