Given the following program, show the values of the array in the following figure:

```

#include

using namespace std;



int main()

{

int values[5];

for (int i = 1; i < 5; i++)

{

values[i] = i;

}



values[0] = values[1] + values[4];



return 0;

}

```



Part III:



Part III:


```



#include

using namespace std;



int main()

{

int values[5];

for (int i = 1; i < 5; i++)

{

values[i] = i;

}



values[0] = values[1] + values[4];



return 0;

}

```

Computer Science & Information Technology

You might also like to view...

Which of the following algorithms is used to verify the integrity of an IOS file?

A) MD5 B) SHA-256 C) TFTP D) EIGRP

Computer Science & Information Technology

The first-fit algorithm assumes that the Memory Manager keeps only one list containing free memory blocks.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

You can click ____ in the gallery of table styles to remove all borders, shading, and other style elements from the selected table.

A. Clear B. Reset C. Default D. Remove

Computer Science & Information Technology

Identify the letter of the choice that best matches the phrase or definition.

A. Creates a SmartArt graphic from bulleted text or a WordArt object B. Used to adjust the size of an illustration, picture, or other object C. Changes the order of objects D. Inserts a drawn shape E. Allows you to change the saturation, tone, or color of a picture

Computer Science & Information Technology