What case my code is missing

#include
#include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
sort(arr,arr+n);
int target;
cin>>target;
int start=0;
int i=0;
int end=n-1;
for(int i=0;i<n;i++)
{ start=i+1;
end=n-1;

	while(start<end)
	{
      if(arr[i]==arr[start]&& arr[start]==arr[end])
	  {
		  start++;
		  end--;
		  continue;
	  }
      if(target>(arr[i]+arr[start]+arr[end]))
	  {
       start++;
	  }
	   if(target<(arr[i]+arr[start]+arr[end]))
	  {
       end--;
	  }

if(target==(arr[i]+arr[start]+arr[end]))
{
cout<<arr[i]<<", β€œ<<arr[start]<<” and "<<arr[end]<<endl;
start++;
end–;
}

	}
}

}

Hey @Aryan-Khare-3212318242148347 please share your code using ide.codingblocks.com

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.