Programming Warm Exercises 12 Deal Array Representing Inventory Art Gallery Using Represen Q37200016

Programming Warm-Up Exercises to 12 deal with an arrayrepresenting the inventory for an art gallery. Using the samerepresentation, write a C++ program that reads thegallery’s inventory from a file called art. dat into the array.Then allow the user to look up the art by specifying any field inthe record. As a reminder, here are the fields:

Artist (string)

Title (string)

Medium (oil, watercolor, pastel, acrylic, print, color photo,black-and-white photo)

Size (struct)

Height (int)

Width (int)

Room where it is hung (main, green, blue, north, south, entry,balcony)

Price (float)

The user should be able to specify a field, and a value for thatfield, and the program then returns all artworks

OR
OR

Leave a Comment

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