i have written a code on the compiler provided by you. i checked this code on other compiler it is correct.but i dont know how to use your compiler.could you please help me
#include
using namespace std;
int main() {
int arr[100];
int n;
cout<<“total no. of input”;
cin>>n;
cout<<“enter numbers”;
for(int i=0;i<n;i++){
cin>>arr[i];
}
for(int i=0;i<n;i++){
if(arr[i]>=0){
cout<<arr[i]<<endl;
}
else
break;
}
return 0;
}
i wrote this. please tell my mistake