Create a 3 function program: a. Main 1) Create 3 parallel arrays using the data listed below. (it MAY not be in ready to use format) 2) Call the function printinventoryList 3) Call the function calcTotalValue expect a value returned (the grand total) 4) Print the grand total in the following form: The Grand Total for this inventory is: xxxxxxx leftarrow your calc where the xxxx's are b. calcTotalValue 1) Pass the arrays to this function as arguments 2) Loop through the arrays to calculate the total value in inventory 3) Within the loop, print the name of the item and the total value of the item in inventory. The print width of the total value should be 10 and have 2 decimal points of precision. 4) Calculate the grand total of everything in inventory added together. 5) Return the grand total to the calling function (Main in this case) c. printinventoryList 1) Pass the arrays to this function as arguments 2) Loop through the arrays to print the inventory 3) Print each of the Name, Quantity, and Price with a print width of 10 and have 2 decimal points of precision. 2. Remember, this is not a test. It is open book, open note, and open Professor. You may NOT provide another student a copy of your code. I will be online Monday night and Tuesday night. 3. You are doing great!!! Use the following data in your program: itemName = {“Shoes”, “Shirts”, “Socks”, “Pants”, “Underwear”, “Hats”} itemQty = {37, 53, 101, 29, 46, 17} itemPrice = (53.25, 34.95, 9.15, 73.10, 24.00, 15.95} In part 1 (Main function), after the print logic in step 4), change the quantity of shirts to be: 49 and the quantity of pants to be: 24 and complete steps 2 through 4 again in the same program.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
"FIRST15"

Order Now