Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please make sure it compiles Programming Warm-Up Exercises 7 to 12 deal with an

ID: 3534241 • Letter: P

Question

please make sure it compiles

Programming Warm-Up Exercises 7 to 12 deal with an array representing the inventory for an art gallery. Using the same representation, write a C++ program that reads the gallery inventory from a file called art.dat into the array. Then allow the user to look up the art by specifying any field in the 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 that field, and the program then returns all artworks that match those criteria. For example, the user may specify Artist and Smithely, and the program will output all of the information concerning every work in the gallery by that artist.

Explanation / Answer

no since the variables that are specified doesnt holds correct type of datatypes