What will be the sum of the following code
#include
usingnamespacestd;
int main()
{
int number[5], sum = 0;
cout "enter 5 numbers: " ;
for (int i = 0; i 5; i++)
{
cin numbers [i];
sum +=numbers [i];
}
cout "sum = " sum end1;
return 0;
}

Posted on by