Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

Need help with java programming! I'm creating a inventory program and i need to store multiple items, how can i use array to store them?

OpenStudy (anonymous):

for example the name of the item, the price and the quantity. How can i store them in the array?

OpenStudy (anonymous):

System.out.println("Enter Product ID"); id = scan.nextInt(); System.out.println("Enter Product Name"); name = scan.next() System.out.println("Enter Product Price"); price = scan.nextDouble(); System.out.println("Enter Quantity"); quantity = scan.nextInt(); System.out.println("Enter Category"); category = scan.next(); store all of this in an array and display them. how?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!