Write a code segment that sums the prices of the works in the gallery described in Exercise 7.
REF PRB:”
A gallery needs to keep track of its paintings and photographs. It keeps at most 120 artworks on its walls. Each one is described by the following information:
Write a declaration for a struct that represents a piece of art. Declare struct and enumeration types as needed to make up the fields of the Artwork type. Write an additional declaration of a named array type that holds the list of all the artworks in the gallery. Lastly, declare an array of this type called currentList and an int variable called numPieces. The numPieces variable contains the number of pieces represented in the array.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.