Explore BrainMass

Explore BrainMass

    Arrays, vectors, and STL

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    The Rinky Dooflingy Company manufactures different kinds of doofingies, each identified b a product number. Write a program that reads product number and prices and stores these values in two arrays, number and price;number[0] and price[0] are the product number and unit price for the first item, number[1] and price[1] aare the product number and unit price for the second item, and so on. The program should allow the user to print a table displaying the product number and the price of each item.

    © BrainMass Inc. brainmass.com December 24, 2021, 5:09 pm ad1c9bdddf

    Solution Summary

    Arrays, vector<T>s, and STL are examined.