Create and code a program that uses three parallel numeric


Program: 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 21, 32, 44, 57, 63, and 78. It should then search 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.

Allow the user to display the price and quantity for as many ProductID'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.

Can somebody provide the answer for given question with example?

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create and code a program that uses three parallel numeric
Reference No:- TGS0991628

Expected delivery within 24 Hours