Define a constant max that holds a value of 25


Problem:

Question: Write some code to perform each of the following tasks:

a) Define a constant MAX that holds a value of 25

b) Define an array of integers, num, containing MAX elements and initialize each of the statements of the array to 0.

c) what is the name of the fifth element of the array

d) output the value of the third elemant of the array

e) assign a value into fourth element of the array num

f)  Initialize each of the 25 elements of the array to 100

g) sum up the elements of array num into summation variable sum

i)  copy the contents of array num into array f, also of size MAX

i)  increment each element of array f by a value of 1

Show the code, demonstrate it works properly and describe what it is doing.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Define a constant max that holds a value of 25
Reference No:- TGS0891514

Expected delivery within 24 Hours