Author | Message |
---|---|
sidguttula
Posts: 16
|
Posted 15:11 May 22, 2016 |
For problem 5, I'm having trouble printing the "Num Packages Sold". So far I've used a total of three methods other than main. I'm not able to print the exact numbers of the different cookies the user has inputted. Can someone help me on this one? |
rcamach7
Posts: 31
|
Posted 15:21 May 22, 2016 |
How many different arrays do you have that contain the data that you have so far? |
kknaur
Posts: 540
|
Posted 17:22 May 22, 2016 |
Hint for this problem is that you need two arrays. One for the cookie names, and one for the corresponding amounts sold for each type / name. |
velder0
Posts: 16
|
Posted 20:05 May 24, 2016 |
I'm having a problem storing the names in the string array It will count the second part of one element like instead of Mint Chocolate Chip It'll grab Mint for [0] Chocolate [1] Chip [2] any hints? |
velder0
Posts: 16
|
Posted 20:07 May 24, 2016 |
nvm! got it |