You are given two int variables j and k, an int array zipcodeList that has been declared and initialized, and an boolean variable duplicates.

You are given two int variables j and k, an int array zipcodeList that has been declared and initialized, and an boolean variable duplicates.

LANGUAGE: Java

CHALLENGE:

You are given two int variables j and k, an int array zipcodeList that has been declared and initialized, and an boolean variable duplicates.

Write some code that assigns true to duplicates if any two elements in the array have the same value , and that assigns false to duplicates otherwise. Use only j, k, zipcodeList, and duplicates.

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level