Skip to content

davoyaaj_Assignment10#27

Open
AliciaDavoyan wants to merge 6 commits intonicomp42:masterfrom
AliciaDavoyan:master
Open

davoyaaj_Assignment10#27
AliciaDavoyan wants to merge 6 commits intonicomp42:masterfrom
AliciaDavoyan:master

Conversation

@AliciaDavoyan
Copy link
Copy Markdown

It was missing the JRE System Library so I added it, at least on my end.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the for loop in the add method.

I had some issues with pushing it so it's made multiple commits, 8a6967a is the most accurate as I made changes to lines 50 and 51 (which became 59 and 60 due to my notes).
twoLiterStack.add(new TwoLiter(UPCs[r.nextInt(UPCs.length - 1)], flavors[r.nextInt(flavors.length - 1)], twoLiterStack.add(new TwoLiter(UPCs[r.nextInt(UPCs.length )], flavors[r.nextInt(flavors.length )], // corrected version

AliciaDavoyan and others added 6 commits April 5, 2022 01:39
I also removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
I then removed the - 1 from r.nextInt for both UPCs and flavors in the
for loop in the add method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant