Building an inventory program that uses an array but has string values as well as int
Hello all. I am trying to build a program that stores inventory for selected products and must use an array. My problem is that the inventory is supposed to show the product name, item number, department, units in stock and price. I think I have figured out how to create an array using just integers but I need string values such as the name and department it falls under. My instructor says this is possible using just one array, however, I don't think it matters if I do use two arrays, or even five if needed for the products in inventory. I would rather only use one array but this week I need to modify the program so it shows off more than one product (and its details listed above). Anyone have any ideas that I could use just one array with the integer values but still display the name and department of the products?