I'll try to search the element but not getting the correct output Please check Below Code======>>
for(int i=0; i<arr.length; i++)
{
if(arr[i]==name)
{
found=true;
break;
}
}
I'll try to search the element but not getting the correct output Please check Below Code======>>
for(int i=0; i<arr.length; i++)
{
if(arr[i]==name)
{
found=true;
break;
}
}