Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Removing duplicates from an array. use hw #8 to help. method sends new array of proper size that only has original numbers. Send original array to method, receive new array.
- set any duplicates in array to 0
- count the amount of numbers that are not 0
- make a new array of that size
- fill new array with numbers that are not 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement