Answer: int sum = 1, n;
do {cin>>n; sum+=n;}while (n!=0);
cout<<sum;
Step-by-step explanation:
1.6m questions
2.0m answers