Computer Science, asked by djjunkerzz, 5 months ago

read 15 values from the user and store only unique values in a new array and display both the array values. Java program with arrays​

Answers

Answered by hanockgamer611
6

Answer:

Working

Initialize arrays.

Declare the scanner class for taking input.

take array size from the user.

Take an element of the array from the user.

Print the total distinct number of the array by calling D Count function.

D Count(int a[], int n)

Initialze temp variable with zero.

Answered by mohammedameenuddin19
1

yar apke answer ko mark as brainliest nahi aaraha he

Similar questions