HTML & JS
#include<iostream>
using namespace std;
int main()
{
   int a[]={4,67,89,2,6},n=5;
   cout<<"The elements are:";
   for(int i=0;i<n;i++)
        cout<<a[i]<<"\t";
} 

Generated URL:

Output:

The elements are:4	67	89	2	6	
Report Bug