Question: C++ MUST BE IN VISUAL STUDIO Product Arrays Create and code a program that uses three parallel numeric arrays of size 6. The program searches
C++ MUST BE IN VISUAL STUDIO

Product Arrays Create and code a program that uses three parallel numeric arrays of size 6. The program searches one of the arrays and then displays the corresponding values from the other two arrays. The program should prompt the user to enter a ProductiD. Valid ProductID's should be the numbers 24, 37, 42, 51, 66, and 79. The program should search the array for the ProductID in the ids array and display the corresponding price and quantity from the prices and quantities arrays. Populate the prices and quantities arrays with any values you desire. Price should allow for two decimal places. Allow the user to display the price and quantity for as many ProductlD's as desired without having to execute the program again. Of course, any bad ProductiD's should display an error message, but the user should be able to continue until a sentinel is entered. The program should be structured to work with any numbers should the company decide to change ProductID's in the future
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
