Sir in this code can you please tell me what mistake did I do-
#include
using namespace std;
int main(){
int sum = 0;
int n ;
for(sum>=0;sum==sum + n;(scanf("%d",&n)!=EOF)){
cout<<n<<endl;
}
return 0;
}
Due to which I am not getting any output.