Details At the start of your program read in the product information from the “ProductData.csv” file. You will need to read in each line and separate the information so that you can store the item number, the name, price, and the qty on hand. The product data must be stored in either a multidimensional array or several single dimension arrays (Note: There is exactly 100 items in the product list. You can assume I will not add or remove any items to the product list. So, for this assignment the array sized will boe fixed to the total number of products). After storing the data in your arrays, you must ask the user what products they would like to buy. You will take as input item numbers (Note: The user should be allowed to select up to as many as the 100 items). After the user enters an item number you must search the array to find its location. You can use any search function you would like. If the item is not found in the array ther you need to output and error message. When the item is found you should output the item name and cost. Ask the user how many of the item the would like. Check their input against the available qty on hand. If they want more then you have, then inform the customer there is not enough available and have them reenter a qty. If there is none available then tell the user we are currently out of stock of the item. After entering a qty that is allowed you must add the item to their shopping cart. You must store all the items that the user inputs and keep collecting input from the user until they indicate they are done. If the user enters a 0 when asked about entering a product then you know they are done. You must ask the user for their name and mailing address in the correct format: Name Street Address City, State Zip code You will output to the screen and to a file name Show transcribed image text
We are a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.