Answer:
Hi, according to your description you need the code that represents the statement I will use C++ language to describe the code.
// Example program
#include <iostream>
int main()
{
int a [5] = [1,2,3,4,5];
int j = 0;
return 0;
}
Explanation:
In this language you must have to declare in the header the libraries that you include in your main program, after that a function main where your put your logical algorithm in fact, you declare the algorithm that you need. In this case declare a variable and assign an array of 5 positions and a j variable and assign a number between 0 and 3.
I hope it's help you.