Intro to java
Programming Lab 11: De-Dup Program
Objective: To write a program to remove duplicates from anarray
Write a program that inputs an array of 10 integers from theuser, and removes the duplicate array elements. Here is some sampleoutput:
Please enter 10 integers, hitting return after each one:5751075580105550You entered 5 distinct numbers:5 75 10 80 50
Please enter 10 integers, hitting return after each one: 1 2 3 45 6 7 8 9 10 You entered 10 distinct numbers: 1 2 3 4 5 6 7 8 910
Rules and Hints:
You must write at least 1 method in addition to the main method,and pass the
PayPal Gateway not configured
PayPal Gateway not configured