English, asked by mounikareddymora, 8 months ago

count duplicate numbers in an array program​

Answers

Answered by lakshmanmaiti20
6

Answer:

Step by step descriptive logic to count duplicate elements in array.

Input size and elements in array from user. ...

Initialize another variable count with 0 to store duplicate count.

To count total duplicate elements in given array we need two loops. ...

Run another inner loop to find first duplicate of current array element.

Similar questions