What is wrong in the code sir?

#include
using namespace std;
int main() {
int n;
int sum;
sum=0;
while(sum>0){
cin>>n;
cout<<n<<endl;
sum=sum+n;
}
return 0;
}

@naveengandhinow
Hello Naveen,
please save your code on coding blocks ide and then share link here.