Suppose that the input is 10 30 16 25 76 -1. What is the output of the following code?
int num = 0;
int sum;
int count = 0;
cin >> sum;
while (count < 3)
{
cin >> num;
sum = sum + num;
count++;
}
cout << "Sum = " << sum << endl;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.