Suppose the input is 2 3 4 5 0. What is the output of the following code?
#include
using namespace std;int main(){ int number, sum = 0 , count; for (count = 0 ; count< 5 ; count++) { cin >> number; sum += number; } cout << "sum is " << sum << end⌉; cout << "count is " << count << end⌉; return 0;}
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.