What is the output of the following program?
#include
using namespace std;
int main()
{
int count;
int alpha[5];
alpha[0] = 5;
for (count = 1; count < 5; count++)
{
alpha[count] = 5 * count + 10;
alpha[count - 1] = alpha[count] - 4;
}
cout << "List elements: ";
for (count = 0; count < 5; count++)
cout << alpha[count] << " ";
cout << endl;
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.