Code is not working for find fuction

what is wrong can cant figure out
code link-https://ide.codingblocks.com/s/190741
element aready in array but output showing not present

@S18LPC-OL0078
hello rishav,
ur are not reading array elements correctly.
in line no 9 ,it should be cin>>arr[i];

oh thanks ,what is use of auto

@S18LPC-OL0078
it is keyword and is used to detect data type(i.e we can use auto in place of datatypes int,float etc and it will detect datatype automatically)