array of size 6 ( n + 1 ) having elements between 1 and 5
int n = 5 ; Console . WriteLine ( " One ▁ of ▁ the ▁ numbers ▁ repeated ▁ in ▁ the ▁ array ▁ is : ▁ " + findRepeatingNumber ( arr , n ) ) ; } }