C++
#include <iostream>
using namespace std;
int main()
{
int array[20];
for(int i=0;i<20;i++){
array[i]=i*5;
cout<<"\na["<<i<<"]="<<array[i];
}
return 0;
}
PASCAL
program brainly;
type arr=array[0..20] of integer;
var
a:arr;
i:integer;
begin
for i:=0 to 19 do begin
a[i]:=i*5;
writeln('a[',i,']=',a[i]);
end;
end.